From c23d9a72b78f4eb4b4ab2fd9f79c693c60c0593a Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Sun, 9 Jul 2023 22:15:41 +0000 Subject: [PATCH] General: Fix an error introduced in [56179]. Follow-up to [56179]. Unprops audrasjb. git-svn-id: https://develop.svn.wordpress.org/trunk@56181 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-theme-json.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-theme-json.php b/src/wp-includes/class-wp-theme-json.php index 8e96468f9b..00172b4579 100644 --- a/src/wp-includes/class-wp-theme-json.php +++ b/src/wp-includes/class-wp-theme-json.php @@ -3551,9 +3551,9 @@ class WP_Theme_JSON { * Assign defaults, then override those that the block sets by itself. * If the block selector is compounded, will append the element to each * individual block selector. - * $block_selectors = explode( ',', $root_selector ); - * $element_selectors = array(); */ + $block_selectors = explode( ',', $root_selector ); + $element_selectors = array(); foreach ( static::ELEMENTS as $el_name => $el_selector ) { $element_selector = array(); foreach ( $block_selectors as $selector ) {