mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
I18N: Remove trailing spaces from translatable strings introduced in [43436].
Props dimadin. Fixes #46277. Built from https://develop.svn.wordpress.org/trunk@44797 git-svn-id: http://core.svn.wordpress.org/trunk@44629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5c60995bd4
commit
5e3ae17d61
@ -634,11 +634,11 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
|||||||
if ( ! $compatible_php || ! $compatible_wp ) {
|
if ( ! $compatible_php || ! $compatible_wp ) {
|
||||||
echo '<div class="notice inline notice-error notice-alt"><p>';
|
echo '<div class="notice inline notice-error notice-alt"><p>';
|
||||||
if ( ! $compatible_php && ! $compatible_wp ) {
|
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' ) ) {
|
if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
|
||||||
printf(
|
printf(
|
||||||
/* translators: 1: "Update WordPress" screen URL, 2: "Update PHP" page URL */
|
/* translators: 1: "Update WordPress" screen URL, 2: "Update PHP" page URL */
|
||||||
__( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ),
|
' ' . __( '<a href="%1$s">Please update WordPress</a>, and then <a href="%2$s">learn more about updating PHP</a>.' ),
|
||||||
self_admin_url( 'update-core.php' ),
|
self_admin_url( 'update-core.php' ),
|
||||||
esc_url( wp_get_update_php_url() )
|
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' ) ) {
|
} elseif ( current_user_can( 'update_core' ) ) {
|
||||||
printf(
|
printf(
|
||||||
/* translators: %s: "Update WordPress" screen URL */
|
/* translators: %s: "Update WordPress" screen URL */
|
||||||
__( '<a href="%s">Please update WordPress</a>.' ),
|
' ' . __( '<a href="%s">Please update WordPress</a>.' ),
|
||||||
self_admin_url( 'update-core.php' )
|
self_admin_url( 'update-core.php' )
|
||||||
);
|
);
|
||||||
} elseif ( current_user_can( 'update_php' ) ) {
|
} elseif ( current_user_can( 'update_php' ) ) {
|
||||||
printf(
|
printf(
|
||||||
/* translators: %s: "Update PHP" page URL */
|
/* translators: %s: "Update PHP" page URL */
|
||||||
__( '<a href="%s">Learn more about updating PHP</a>.' ),
|
' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ),
|
||||||
esc_url( wp_get_update_php_url() )
|
esc_url( wp_get_update_php_url() )
|
||||||
);
|
);
|
||||||
wp_update_php_annotation();
|
wp_update_php_annotation();
|
||||||
}
|
}
|
||||||
} elseif ( ! $compatible_wp ) {
|
} 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' ) ) {
|
if ( current_user_can( 'update_core' ) ) {
|
||||||
printf(
|
printf(
|
||||||
/* translators: %s: "Update WordPress" screen URL */
|
/* translators: %s: "Update WordPress" screen URL */
|
||||||
__( '<a href="%s">Please update WordPress</a>.' ),
|
' ' . __( '<a href="%s">Please update WordPress</a>.' ),
|
||||||
self_admin_url( 'update-core.php' )
|
self_admin_url( 'update-core.php' )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} elseif ( ! $compatible_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' ) ) {
|
if ( current_user_can( 'update_php' ) ) {
|
||||||
printf(
|
printf(
|
||||||
/* translators: %s: "Update PHP" page URL */
|
/* translators: %s: "Update PHP" page URL */
|
||||||
__( '<a href="%s">Learn more about updating PHP</a>.' ),
|
' ' . __( '<a href="%s">Learn more about updating PHP</a>.' ),
|
||||||
esc_url( wp_get_update_php_url() )
|
esc_url( wp_get_update_php_url() )
|
||||||
);
|
);
|
||||||
wp_update_php_annotation();
|
wp_update_php_annotation();
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.2-alpha-44796';
|
$wp_version = '5.2-alpha-44797';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user