Changeset 56559 for trunk/src/wp-includes/class-wp-theme-json.php
- Timestamp:
- 09/12/2023 03:21:02 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r56549 r56559 2335 2335 $split_selectors = explode( ',', $shortened_selector ); 2336 2336 $updated_selectors = array_map( 2337 static function ( $split_selector ) use ( $clean_style_variation_selector ) {2337 static function ( $split_selector ) use ( $clean_style_variation_selector ) { 2338 2338 return $clean_style_variation_selector . $split_selector; 2339 2339 }, … … 2373 2373 array_filter( 2374 2374 $element_pseudo_allowed, 2375 static function ( $pseudo_selector ) use ( $selector ) {2375 static function ( $pseudo_selector ) use ( $selector ) { 2376 2376 return str_contains( $selector, $pseudo_selector ); 2377 2377 } … … 3734 3734 $vars = array_reduce( 3735 3735 array_merge( $preset_vars, $theme_vars ), 3736 function ( $carry, $item ) {3736 function ( $carry, $item ) { 3737 3737 $name = $item['name']; 3738 3738 $carry[ "var({$name})" ] = $item['value'];
Note: See TracChangeset
for help on using the changeset viewer.