Changeset 46455 for trunk/src/wp-admin/includes/update-core.php
- Timestamp:
- 10/09/2019 10:20:37 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update-core.php
r46400 r46455 1002 1002 } 1003 1003 1004 // Add a warning when the JSON Extension is missing. 1005 if ( ! extension_loaded( 'json' ) ) { 1006 return new WP_Error( 1007 'php_not_compatible', 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.' ), 1011 $wp_version, 1012 'JSON' 1013 ) 1014 ); 1015 } 1016 1004 1017 /** This filter is documented in wp-admin/includes/update-core.php */ 1005 1018 apply_filters( 'update_feedback', __( 'Preparing to install the latest version…' ) );
Note: See TracChangeset
for help on using the changeset viewer.