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:
Jb Audras
2022-01-20 23:51:22 +00:00
parent 7ca1a2a0d7
commit 8db1549c0f
21 changed files with 88 additions and 88 deletions
+2 -2
View File
@@ -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 ) {