Changeset 45118
- Timestamp:
- 04/06/2019 03:27:33 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health-auto-updates.php
r45099 r45118 107 107 $test = wp_remote_get( $url, compact( 'cookies', 'headers', 'timeout' ) ); 108 108 109 if ( is_wp_error( $test ) ) { 110 return array( 111 'description' => sprintf( 112 /* translators: %s: Name of the filter used. */ 113 __( 'Could not confirm that the %s filter is available.' ), 114 '<code>wp_version_check()</code>' 115 ), 116 'severity' => 'warning', 117 ); 118 } 119 109 120 $response = wp_remote_retrieve_body( $test ); 110 121
Note: See TracChangeset
for help on using the changeset viewer.