Editor: Fix undefined variable following [54805].

Props mamaduka, costdev, mukesh27.
See #56974, #57067.

Built from https://develop.svn.wordpress.org/trunk@55142


git-svn-id: http://core.svn.wordpress.org/trunk@54675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Felix Arntz 2023-01-25 22:09:13 +00:00
parent 1b6b3a0765
commit d0e699bb2c
2 changed files with 2 additions and 2 deletions

View File

@ -2111,7 +2111,7 @@ class WP_Theme_JSON {
// support features use the same custom selector. // support features use the same custom selector.
if ( isset( $feature_declarations[ $feature_selector ] ) ) { if ( isset( $feature_declarations[ $feature_selector ] ) ) {
foreach ( $new_feature_declarations as $new_feature_declaration ) { foreach ( $new_feature_declarations as $new_feature_declaration ) {
$feature_declarations[ $feature_selector ][] = $feature_declaration; $feature_declarations[ $feature_selector ][] = $new_feature_declaration;
} }
} else { } else {
$feature_declarations[ $feature_selector ] = $new_feature_declarations; $feature_declarations[ $feature_selector ] = $new_feature_declarations;

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.2-alpha-55141'; $wp_version = '6.2-alpha-55142';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.