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
This commit is contained in:
Sergey Biryukov 2019-10-12 02:40:43 +00:00
parent e21792cb37
commit 7cd21b7bd0

View File

@ -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'
)