Skip to content

Commit 1cc1af2

Browse files
committed
Themes: Replace "Active" wording with "Installed" in the theme install checks page.
When reinstalling a theme by uploading a ZIP file, the wording used in some strings referred to the "active" theme even though it's not the currrently active theme. This changeset replaces these strings to refer to the "installed" theme, which is more accurate. Follow-up to [52610], [52580]. Props afercia, ankitkumarshah, abcd95, yogeshbhutkar, parthvataliya, sainathpoojary, virgar, gaellebesson, nuryko, guillaumeturpin, maximemeganck, sabrineg. Fixes #62603. See #54831, #54770 git-svn-id: https://develop.svn.wordpress.org/trunk@59513 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 85937e7 commit 1cc1af2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wp-admin/includes/class-theme-installer-skin.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ private function do_overwrite() {
251251
);
252252

253253
$table = '<table class="update-from-upload-comparison"><tbody>';
254-
$table .= '<tr><th></th><th>' . esc_html_x( 'Active', 'theme' ) . '</th><th>' . esc_html_x( 'Uploaded', 'theme' ) . '</th></tr>';
254+
$table .= '<tr><th></th><th>' . esc_html_x( 'Installed', 'theme' ) . '</th><th>' . esc_html_x( 'Uploaded', 'theme' ) . '</th></tr>';
255255

256256
$is_same_theme = true; // Let's consider only these rows.
257257

@@ -333,7 +333,7 @@ private function do_overwrite() {
333333
if ( $this->is_downgrading ) {
334334
$warning = sprintf(
335335
/* translators: %s: Documentation URL. */
336-
__( '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.' ),
336+
__( 'You are uploading an older version of the installed theme. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ),
337337
__( 'https://developer.wordpress.org/advanced-administration/security/backup/' )
338338
);
339339
} else {
@@ -351,7 +351,7 @@ private function do_overwrite() {
351351
$install_actions['overwrite_theme'] = sprintf(
352352
'<a class="button button-primary update-from-upload-overwrite" href="%s" target="_parent">%s</a>',
353353
wp_nonce_url( add_query_arg( 'overwrite', $overwrite, $this->url ), 'theme-upload' ),
354-
_x( 'Replace active with uploaded', 'theme' )
354+
_x( 'Replace installed with uploaded', 'theme' )
355355
);
356356
} else {
357357
echo $blocked_message;

0 commit comments

Comments
 (0)