Make WordPress Core


Ignore:
Timestamp:
01/20/2022 11:51:22 PM (4 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/class-theme-installer-skin.php

    r52580 r52610  
    224224        echo '<h2 class="update-from-upload-heading">' . esc_html__( 'This theme is already installed.' ) . '</h2>';
    225225
    226         // Check errors for current theme.
     226        // Check errors for active theme.
    227227        if ( is_wp_error( $current_theme_data->errors() ) ) {
    228228            $this->feedback( 'current_theme_has_errors', $current_theme_data->errors()->get_error_message() );
     
    284284         *
    285285         * @param string   $table              The output table with Name, Version, Author, RequiresWP, and RequiresPHP info.
    286          * @param WP_Theme $current_theme_data Current theme data.
     286         * @param WP_Theme $current_theme_data Active theme data.
    287287         * @param array    $new_theme_data     Array with uploaded theme data.
    288288         */
Note: See TracChangeset for help on using the changeset viewer.