Make WordPress Core


Ignore:
Timestamp:
01/20/2022 11:51:22 PM (5 years ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/theme.php

    r52580 r52610  
    654654         * @param array           $prepared_themes An associative array of theme data. Default empty array.
    655655         * @param WP_Theme[]|null $themes          An array of theme objects to prepare, if any.
    656          * @param string          $current_theme   The current theme slug.
     656         * @param string          $current_theme   The active theme slug.
    657657         */
    658658        $prepared_themes = (array) apply_filters( 'pre_prepare_themes_for_js', array(), $themes, $current_theme );
     
    662662        }
    663663
    664         // Make sure the current theme is listed first.
     664        // Make sure the active theme is listed first.
    665665        $prepared_themes[ $current_theme ] = array();
    666666
Note: See TracChangeset for help on using the changeset viewer.