Changeset 46464
- Timestamp:
- 10/12/2019 02:40:43 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update-core.php
r46455 r46464 1002 1002 } 1003 1003 1004 // Add a warning when the JSON Extension is missing.1004 // Add a warning when the JSON PHP extension is missing. 1005 1005 if ( ! extension_loaded( 'json' ) ) { 1006 1006 return new WP_Error( 1007 1007 'php_not_compatible', 1008 1008 sprintf( 1009 /* translators: 1: WordPress version number, 2: The PHP Extension name needed. */1010 __( 'The update cannot be installed because WordPress %1$s requires the %2$s PHP Extension.' ),1009 /* translators: 1: WordPress version number, 2: The PHP extension name needed. */ 1010 __( 'The update cannot be installed because WordPress %1$s requires the %2$s PHP extension.' ), 1011 1011 $wp_version, 1012 1012 'JSON'
Note: See TracChangeset
for help on using the changeset viewer.