Changeset 47628
- Timestamp:
- 04/27/2020 09:59:10 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health.php
r47585 r47628 720 720 /* translators: %s: The minimum recommended PHP version. */ 721 721 __( 'PHP is the programming language used to build and maintain WordPress. Newer versions of PHP are faster and more secure, so staying up to date will help your site’s overall performance and security. The minimum recommended version of PHP is %s.' ), 722 $response ['recommended_version']722 $response ? $response['recommended_version'] : '' 723 723 ) 724 724 ), … … 2335 2335 2336 2336 if ( ! is_wp_error( $result_fetch ) ) { 2337 $results[] = json_decode( wp_remote_retrieve_body( $result_fetch ) ); 2337 $result = json_decode( wp_remote_retrieve_body( $result_fetch ), true ); 2338 } else { 2339 $result = false; 2340 } 2341 2342 if ( is_array( $result ) ) { 2343 $results[] = $result; 2338 2344 } else { 2339 2345 $results[] = array(
Note: See TracChangeset
for help on using the changeset viewer.