diff -r 34716fd837a4 -r be944660c56a wp/wp-admin/includes/class-plugin-installer-skin.php --- a/wp/wp-admin/includes/class-plugin-installer-skin.php Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-admin/includes/class-plugin-installer-skin.php Wed Sep 21 18:19:35 2022 +0200 @@ -65,7 +65,7 @@ * * @since 5.5.0 * - * @param WP_Error $wp_error WP_Error. + * @param WP_Error $wp_error WP_Error object. * @return bool */ public function hide_process_failed( $wp_error ) { @@ -107,7 +107,7 @@ $install_actions['activate_plugin'] = sprintf( '%s', wp_nonce_url( 'plugins.php?action=activate&from=press-this&plugin=' . urlencode( $plugin_file ), 'activate-plugin_' . $plugin_file ), - __( 'Activate Plugin & Return to Press This' ) + __( 'Activate Plugin & Go to Press This' ) ); } else { $install_actions['activate_plugin'] = sprintf( @@ -130,25 +130,25 @@ $install_actions['importers_page'] = sprintf( '%s', admin_url( 'import.php' ), - __( 'Return to Importers' ) + __( 'Go to Importers' ) ); } elseif ( 'web' === $this->type ) { $install_actions['plugins_page'] = sprintf( '%s', self_admin_url( 'plugin-install.php' ), - __( 'Return to Plugin Installer' ) + __( 'Go to Plugin Installer' ) ); } elseif ( 'upload' === $this->type && 'plugins' === $from ) { $install_actions['plugins_page'] = sprintf( '%s', self_admin_url( 'plugin-install.php' ), - __( 'Return to Plugin Installer' ) + __( 'Go to Plugin Installer' ) ); } else { $install_actions['plugins_page'] = sprintf( '%s', self_admin_url( 'plugins.php' ), - __( 'Return to Plugins page' ) + __( 'Go to Plugins page' ) ); } @@ -208,7 +208,7 @@ return false; } - echo '

' . esc_html( __( 'This plugin is already installed.' ) ) . '

'; + echo '

' . esc_html__( 'This plugin is already installed.' ) . '

'; $this->is_downgrading = version_compare( $current_plugin_data['Version'], $new_plugin_data['Version'], '>' ); @@ -221,8 +221,8 @@ ); $table = ''; - $table .= ''; - $table .= ''; + $table .= ''; + $table .= ''; $is_same_plugin = true; // Let's consider only these rows. @@ -256,7 +256,7 @@ $install_actions = array(); $can_update = true; - $blocked_message = '

' . esc_html( __( 'The plugin cannot be updated due to the following:' ) ) . '

'; + $blocked_message = '

' . esc_html__( 'The plugin cannot be updated due to the following:' ) . '

'; $blocked_message .= '
' . esc_html( __( 'Current' ) ) . '' . esc_html( __( 'Uploaded' ) ) . '
' . esc_html_x( 'Current', 'plugin' ) . '' . esc_html_x( 'Uploaded', 'plugin' ) . '