Commit e4e4eeb291 for wordpress.org
commit e4e4eeb2916af85e1c3752a03fb05f8cef88a042
Author: Weston Ruter <weston@xwp.co>
Date: Sat Nov 29 19:39:30 2025 +0000
Docs: Improve accuracy of `wp_enqueue_classic_theme_styles()` description.
Developed in https://github.com/WordPress/wordpress-develop/pull/10565
Follow-up to [59980], [54687], [54358].
Props manhphucofficial, wildworks, sabernhardt, iflairwebtechnologies, westonruter.
See #61892, #64224.
Fixes #64317.
Built from https://develop.svn.wordpress.org/trunk@61322
git-svn-id: http://core.svn.wordpress.org/trunk@60634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php
index ab5dffddc0..7dccff9775 100644
--- a/wp-includes/script-loader.php
+++ b/wp-includes/script-loader.php
@@ -3409,7 +3409,7 @@ function wp_enqueue_block_style( $block_name, $args ) {
}
/**
- * Loads classic theme styles on classic themes in the frontend.
+ * Loads classic theme styles when the current theme lacks a theme.json file.
*
* This is used for backwards compatibility for Button and File blocks specifically.
*
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 84ec4a861a..d0d453c4ac 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.0-alpha-61321';
+$wp_version = '7.0-alpha-61322';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.