From 771ec430c0aca15d83a7952770b1194b46623ed8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 5 Mar 2019 20:30:49 +0000 Subject: [PATCH] I18N: Remove trailing spaces from translatable strings introduced in [43436]. Props dimadin. Merges [44797] to the 5.1 branch. Fixes #46277. Built from https://develop.svn.wordpress.org/branches/5.1@44798 git-svn-id: http://core.svn.wordpress.org/branches/5.1@44630 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../class-wp-plugin-install-list-table.php | 16 ++++++++-------- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php index 3ff7991fc5..9c09a80a16 100644 --- a/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -634,11 +634,11 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { if ( ! $compatible_php || ! $compatible_wp ) { echo '

'; if ( ! $compatible_php && ! $compatible_wp ) { - _e( 'This plugin doesn’t work with your versions of WordPress and PHP. ' ); + _e( 'This plugin doesn’t work with your versions of WordPress and PHP.' ); if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) { printf( /* translators: 1: "Update WordPress" screen URL, 2: "Update PHP" page URL */ - __( 'Please update WordPress, and then learn more about updating PHP.' ), + ' ' . __( 'Please update WordPress, and then learn more about updating PHP.' ), self_admin_url( 'update-core.php' ), esc_url( wp_get_update_php_url() ) ); @@ -646,32 +646,32 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { } elseif ( current_user_can( 'update_core' ) ) { printf( /* translators: %s: "Update WordPress" screen URL */ - __( 'Please update WordPress.' ), + ' ' . __( 'Please update WordPress.' ), self_admin_url( 'update-core.php' ) ); } elseif ( current_user_can( 'update_php' ) ) { printf( /* translators: %s: "Update PHP" page URL */ - __( 'Learn more about updating PHP.' ), + ' ' . __( 'Learn more about updating PHP.' ), esc_url( wp_get_update_php_url() ) ); wp_update_php_annotation(); } } elseif ( ! $compatible_wp ) { - _e( 'This plugin doesn’t work with your version of WordPress. ' ); + _e( 'This plugin doesn’t work with your version of WordPress.' ); if ( current_user_can( 'update_core' ) ) { printf( /* translators: %s: "Update WordPress" screen URL */ - __( 'Please update WordPress.' ), + ' ' . __( 'Please update WordPress.' ), self_admin_url( 'update-core.php' ) ); } } elseif ( ! $compatible_php ) { - _e( 'This plugin doesn’t work with your version of PHP. ' ); + _e( 'This plugin doesn’t work with your version of PHP.' ); if ( current_user_can( 'update_php' ) ) { printf( /* translators: %s: "Update PHP" page URL */ - __( 'Learn more about updating PHP.' ), + ' ' . __( 'Learn more about updating PHP.' ), esc_url( wp_get_update_php_url() ) ); wp_update_php_annotation(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 934248d330..4699cf70d4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1.1-alpha-44795'; +$wp_version = '5.1.1-alpha-44798'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.