diff -r 48c4eec2b7e6 -r 8c2e4d02f4ef wp/wp-admin/includes/class-theme-installer-skin.php --- 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 .= ''; + $table .= ''; $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 back up your database and files first.' ), + __( 'You are uploading an older version of the installed theme. You can continue to install the older version, but be sure to back up your database and files first.' ), __( 'https://developer.wordpress.org/advanced-administration/security/backup/' ) ); } else { @@ -351,7 +351,7 @@ $install_actions['overwrite_theme'] = sprintf( '%s', 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;
' . esc_html_x( 'Active', 'theme' ) . '' . esc_html_x( 'Uploaded', 'theme' ) . '
' . esc_html_x( 'Installed', 'theme' ) . '' . esc_html_x( 'Uploaded', 'theme' ) . '