Changeset 56038
- Timestamp:
- 06/26/2023 04:58:38 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r56028 r56038 2424 2424 array_filter( 2425 2425 $element_pseudo_allowed, 2426 function( $pseudo_selector ) use ( $selector ) {2426 static function( $pseudo_selector ) use ( $selector ) { 2427 2427 return str_contains( $selector, $pseudo_selector ); 2428 2428 } -
trunk/src/wp-includes/global-styles-and-settings.php
r55988 r56038 371 371 array_filter( 372 372 $metadata['path'], 373 function ( $item ) {373 static function ( $item ) { 374 374 if ( str_contains( $item, 'core/' ) ) { 375 375 return true; -
trunk/tests/phpunit/tests/media.php
r56037 r56038 4218 4218 add_filter( 4219 4219 'the_content', 4220 function( $content ) use ( &$result, $context ) {4220 static function( $content ) use ( &$result, $context ) { 4221 4221 $result = wp_get_loading_attr_default( $context ); 4222 4222 return $content;
Note: See TracChangeset
for help on using the changeset viewer.