diff --git a/wp-includes/class-wp-theme-json.php b/wp-includes/class-wp-theme-json.php index f5f6d1f63e..eef9715755 100644 --- a/wp-includes/class-wp-theme-json.php +++ b/wp-includes/class-wp-theme-json.php @@ -2423,7 +2423,7 @@ static function( $split_feature_selector ) use ( $clean_style_variation_selector $pseudo_matches = array_values( array_filter( $element_pseudo_allowed, - function( $pseudo_selector ) use ( $selector ) { + static function( $pseudo_selector ) use ( $selector ) { return str_contains( $selector, $pseudo_selector ); } ) diff --git a/wp-includes/global-styles-and-settings.php b/wp-includes/global-styles-and-settings.php index 15f24c1cb4..84d775efb0 100644 --- a/wp-includes/global-styles-and-settings.php +++ b/wp-includes/global-styles-and-settings.php @@ -370,7 +370,7 @@ function wp_add_global_styles_for_blocks() { $result = array_values( array_filter( $metadata['path'], - function ( $item ) { + static function ( $item ) { if ( str_contains( $item, 'core/' ) ) { return true; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 1346c728cc..bb525f12cd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-56037'; +$wp_version = '6.3-alpha-56038'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.