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
This commit is contained in:
Jb Audras
2023-07-09 22:15:41 +00:00
parent a39e9774c3
commit c23d9a72b7

View File

@@ -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 ) {