Ticket #46814: 46814.patch
File 46814.patch, 844 bytes (added by , 6 years ago) |
---|
-
src/wp-admin/includes/class-wp-site-health-auto-updates.php
106 106 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 __( 'A failure prevents us from confirming 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 111 122 if ( 'yes' !== $response ) {