diff --git a/wp-includes/theme.php b/wp-includes/theme.php index f28acc8d15..9effbadcd5 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -3037,9 +3037,10 @@ function current_theme_supports( $feature, ...$args ) { return false; } - // If no args passed then no extra checks need be performed. + // If no args passed then no extra checks need to be performed. if ( ! $args ) { - return true; + /** This filter is documented in wp-includes/theme.php */ + return apply_filters( "current_theme_supports-{$feature}", true, $args, $_wp_theme_features[ $feature ] ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores } switch ( $feature ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index eb99a17adf..049a9e116d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52811'; +$wp_version = '6.0-alpha-52812'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.