Skip to content

Commit

Permalink
Editor: Fix undefined variable following [54805].
Browse files Browse the repository at this point in the history
Props mamaduka, costdev, mukesh27.
See #56974, #57067.


git-svn-id: https://develop.svn.wordpress.org/trunk@55142 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
felixarntz committed Jan 25, 2023
1 parent ca90afc commit 9356d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-theme-json.php
Original file line number Diff line number Diff line change
Expand Up @@ -2111,7 +2111,7 @@ public function get_styles_for_block( $block_metadata ) {
// support features use the same custom selector.
if ( isset( $feature_declarations[ $feature_selector ] ) ) {
foreach ( $new_feature_declarations as $new_feature_declaration ) {
$feature_declarations[ $feature_selector ][] = $feature_declaration;
$feature_declarations[ $feature_selector ][] = $new_feature_declaration;
}
} else {
$feature_declarations[ $feature_selector ] = $new_feature_declarations;
Expand Down

0 comments on commit 9356d97

Please sign in to comment.