Make WordPress Core


Ignore:
Timestamp:
01/15/2022 08:42:56 AM (2 years ago)
Author:
audrasjb
Message:

Administration: Replace "Current theme" with "Active theme" in user facing strings.

This change replaces "Current theme" with "Active theme" in user-facing strings. It brings better consistency across the Administration.

Props Presskopp, audrasjb, costdev.
Fixes #54770.

File:
1 edited

Legend:

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

    r52204 r52580  
    246246
    247247        $table  = '<table class="update-from-upload-comparison"><tbody>';
    248         $table .= '<tr><th></th><th>' . esc_html_x( 'Current', 'theme' ) . '</th><th>' . esc_html_x( 'Uploaded', 'theme' ) . '</th></tr>';
     248        $table .= '<tr><th></th><th>' . esc_html_x( 'Active', 'theme' ) . '</th><th>' . esc_html_x( 'Uploaded', 'theme' ) . '</th></tr>';
    249249
    250250        $is_same_theme = true; // Let's consider only these rows.
     
    328328                $warning = sprintf(
    329329                    /* translators: %s: Documentation URL. */
    330                     __( 'You are uploading an older version of a current theme. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ),
     330                    __( 'You are uploading an older version of the active theme. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ),
    331331                    __( 'https://wordpress.org/support/article/wordpress-backups/' )
    332332                );
     
    346346                '<a class="button button-primary update-from-upload-overwrite" href="%s" target="_parent">%s</a>',
    347347                wp_nonce_url( add_query_arg( 'overwrite', $overwrite, $this->url ), 'theme-upload' ),
    348                 _x( 'Replace current with uploaded', 'theme' )
     348                _x( 'Replace active with uploaded', 'theme' )
    349349            );
    350350        } else {
Note: See TracChangeset for help on using the changeset viewer.