mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: Replace "Current theme" with "Active theme" in various DocBlocks.
This change replaces "Current theme" with "Active theme" in various DocBlocks for better consistency with user-facing strings. Follow-up to [52580]. Props Presskopp, audrasjb, costdev. Fixes #54831. See #54770. git-svn-id: https://develop.svn.wordpress.org/trunk@52610 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -653,7 +653,7 @@ function wp_prepare_themes_for_js( $themes = null ) {
|
||||
*
|
||||
* @param array $prepared_themes An associative array of theme data. Default empty array.
|
||||
* @param WP_Theme[]|null $themes An array of theme objects to prepare, if any.
|
||||
* @param string $current_theme The current theme slug.
|
||||
* @param string $current_theme The active theme slug.
|
||||
*/
|
||||
$prepared_themes = (array) apply_filters( 'pre_prepare_themes_for_js', array(), $themes, $current_theme );
|
||||
|
||||
@@ -661,7 +661,7 @@ function wp_prepare_themes_for_js( $themes = null ) {
|
||||
return $prepared_themes;
|
||||
}
|
||||
|
||||
// Make sure the current theme is listed first.
|
||||
// Make sure the active theme is listed first.
|
||||
$prepared_themes[ $current_theme ] = array();
|
||||
|
||||
if ( null === $themes ) {
|
||||
|
||||
Reference in New Issue
Block a user