diff --git a/wp-includes/class-wp-theme-json.php b/wp-includes/class-wp-theme-json.php index 37f4d11ce9..4094e11524 100644 --- a/wp-includes/class-wp-theme-json.php +++ b/wp-includes/class-wp-theme-json.php @@ -1070,6 +1070,7 @@ class WP_Theme_JSON { foreach ( $style_nodes as &$node ) { $node['selector'] = static::scope_selector( $options['scope'], $node['selector'] ); } + unset( $node ); } if ( ! empty( $options['root_selector'] ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 18d8cb6360..2d38dd4a82 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57339'; +$wp_version = '6.5-alpha-57340'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.