From 2e32d4331fc7e74368ae409e7ab62b4f57f2021e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 26 May 2019 14:35:58 +0000 Subject: [PATCH] I18N: Remove unnecessary markup from plugin action messages, for consistency with the rest of the admin. Props ramiy. Fixes #47238. git-svn-id: https://develop.svn.wordpress.org/trunk@45432 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/plugins.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/wp-admin/plugins.php b/src/wp-admin/plugins.php index 8c8249ac7c..c888cddaf3 100644 --- a/src/wp-admin/plugins.php +++ b/src/wp-admin/plugins.php @@ -484,7 +484,7 @@ if ( ! empty( $invalid ) ) { echo '

'; printf( /* translators: 1: plugin file, 2: error message */ - __( 'The plugin %1$s has been deactivated due to an error: %2$s' ), + __( 'The plugin %1$s has been deactivated due to an error: %2$s' ), '' . esc_html( $plugin_file ) . '', $error->get_error_message() ); @@ -545,26 +545,26 @@ elseif ( isset( $_GET['deleted'] ) ) :

deleted.' ); + _e( 'The selected plugin has been deleted.' ); } else { - _e( 'The selected plugins have been deleted.' ); + _e( 'The selected plugins have been deleted.' ); } ?>

-

activated.' ); ?>

+

-

activated.' ); ?>

+

-

deactivated.' ); ?>

+

-

deactivated.' ); ?>

+

-

resumed.' ); ?>

+