From 7cd21b7bd0f0a5375c11c819b3d46567371acdfd Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 12 Oct 2019 02:40:43 +0000 Subject: [PATCH] I18N: Don't capitalize "Extension" in `update_core()`, for consistency with other strings. Follow-up to [46455]. See #47699. git-svn-id: https://develop.svn.wordpress.org/trunk@46464 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/update-core.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/update-core.php b/src/wp-admin/includes/update-core.php index b2f7c7d711..5d37b1901b 100644 --- a/src/wp-admin/includes/update-core.php +++ b/src/wp-admin/includes/update-core.php @@ -1001,13 +1001,13 @@ function update_core( $from, $to ) { ); } - // Add a warning when the JSON Extension is missing. + // Add a warning when the JSON PHP extension is missing. if ( ! extension_loaded( 'json' ) ) { return new WP_Error( 'php_not_compatible', sprintf( - /* translators: 1: WordPress version number, 2: The PHP Extension name needed. */ - __( 'The update cannot be installed because WordPress %1$s requires the %2$s PHP Extension.' ), + /* translators: 1: WordPress version number, 2: The PHP extension name needed. */ + __( 'The update cannot be installed because WordPress %1$s requires the %2$s PHP extension.' ), $wp_version, 'JSON' )