Ticket #47957: 47957.diff
| File 47957.diff, 886 bytes (added by , 7 years ago) |
|---|
-
src/wp-admin/includes/class-wp-site-health.php
2000 2000 $headers = array( 2001 2001 'Cache-Control' => 'no-cache', 2002 2002 ); 2003 /** This filter is documented in wp-includes/class-wp-http-streams.php */ 2004 $sslverify = apply_filters( 'https_local_ssl_verify', false ); 2003 2005 2004 2006 // Include Basic auth in loopback requests. 2005 2007 if ( isset( $_SERVER['PHP_AUTH_USER'] ) && isset( $_SERVER['PHP_AUTH_PW'] ) ) { … … 2008 2010 2009 2011 $url = admin_url(); 2010 2012 2011 $r = wp_remote_get( $url, compact( 'cookies', 'headers', 'timeout' ) );2013 $r = wp_remote_get( $url, compact( 'cookies', 'headers', 'timeout', 'sslverify' ) ); 2012 2014 2013 2015 if ( is_wp_error( $r ) ) { 2014 2016 return (object) array(
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)