--- a/wp/wp-admin/includes/class-theme-installer-skin.php Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-admin/includes/class-theme-installer-skin.php Fri Sep 05 18:52:52 2025 +0200
@@ -251,7 +251,7 @@
);
$table = '<table class="update-from-upload-comparison"><tbody>';
- $table .= '<tr><th></th><th>' . esc_html_x( 'Active', 'theme' ) . '</th><th>' . esc_html_x( 'Uploaded', 'theme' ) . '</th></tr>';
+ $table .= '<tr><th></th><th>' . esc_html_x( 'Installed', 'theme' ) . '</th><th>' . esc_html_x( 'Uploaded', 'theme' ) . '</th></tr>';
$is_same_theme = true; // Let's consider only these rows.
@@ -319,7 +319,7 @@
$error = sprintf(
/* translators: 1: Current WordPress version, 2: Version required by the uploaded theme. */
__( 'Your WordPress version is %1$s, however the uploaded theme requires %2$s.' ),
- get_bloginfo( 'version' ),
+ esc_html( wp_get_wp_version() ),
$requires_wp
);
@@ -333,7 +333,7 @@
if ( $this->is_downgrading ) {
$warning = sprintf(
/* translators: %s: Documentation URL. */
- __( '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.' ),
+ __( '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.' ),
__( 'https://developer.wordpress.org/advanced-administration/security/backup/' )
);
} else {
@@ -351,7 +351,7 @@
$install_actions['overwrite_theme'] = sprintf(
'<a class="button button-primary update-from-upload-overwrite" href="%s" target="_parent">%s</a>',
wp_nonce_url( add_query_arg( 'overwrite', $overwrite, $this->url ), 'theme-upload' ),
- _x( 'Replace active with uploaded', 'theme' )
+ _x( 'Replace installed with uploaded', 'theme' )
);
} else {
echo $blocked_message;