Changeset 46230
- Timestamp:
- 09/21/2019 03:58:38 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r46174 r46230 519 519 ); 520 520 521 /** This filter is documented in wp-includes/class-wp-http-streams.php */ 522 $sslverify = apply_filters( 'https_local_ssl_verify', false ); 523 521 524 // Include Basic auth in loopback requests. 522 525 if ( isset( $_SERVER['PHP_AUTH_USER'] ) && isset( $_SERVER['PHP_AUTH_PW'] ) ) { … … 548 551 } 549 552 $url = add_query_arg( $scrape_params, $url ); 550 $r = wp_remote_get( $url, compact( 'cookies', 'headers', 'timeout' ) );553 $r = wp_remote_get( $url, compact( 'cookies', 'headers', 'timeout', 'sslverify' ) ); 551 554 $body = wp_remote_retrieve_body( $r ); 552 555 $scrape_result_position = strpos( $body, $needle_start );
Note: See TracChangeset
for help on using the changeset viewer.