Skip to content

Commit

Permalink
Update src/wp-includes/blocks/index.php
Browse files Browse the repository at this point in the history
Co-authored-by: Mukesh Panchal <mukeshpanchal27@users.noreply.github.com>
  • Loading branch information
spacedmonkey and mukeshpanchal27 committed Jun 26, 2023
1 parent 4b48de7 commit cdbb241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/blocks/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function register_core_block_style_handles() {

// Backfill these properties similar to `register_block_type_from_metadata()`.
if ( ! isset( $schema['style'] ) ) {
$schema['style'] = "wp-block-$name";
$schema['style'] = "wp-block-{$name}";
}
if ( ! isset( $schema['editorStyle'] ) ) {
$schema['editorStyle'] = "wp-block-{$name}-editor";
Expand Down

0 comments on commit cdbb241

Please sign in to comment.