Changeset 52026
- Timestamp:
- 11/07/2021 01:35:52 AM (3 years ago)
- Location:
- trunk/src
- Files:
-
- 1 added
- 4 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-curl.php
r51931 r52026 116 116 $ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url ); 117 117 } elseif ( ! $is_local ) { 118 /** This filter is documented in wp-includes/class- http.php */118 /** This filter is documented in wp-includes/class-wp-http.php */ 119 119 $ssl_verify = apply_filters( 'https_ssl_verify', $ssl_verify, $url ); 120 120 } -
trunk/src/wp-includes/class-wp-http-streams.php
r51940 r52026 106 106 $ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url ); 107 107 } elseif ( ! $is_local ) { 108 /** This filter is documented in wp-includes/class- http.php */108 /** This filter is documented in wp-includes/class-wp-http.php */ 109 109 $ssl_verify = apply_filters( 'https_ssl_verify', $ssl_verify, $url ); 110 110 } -
trunk/src/wp-includes/class-wp-http.php
r52025 r52026 274 274 if ( empty( $url ) || empty( $parsed_url['scheme'] ) ) { 275 275 $response = new WP_Error( 'http_request_failed', __( 'A valid URL was not provided.' ) ); 276 /** This action is documented in wp-includes/class- http.php */276 /** This action is documented in wp-includes/class-wp-http.php */ 277 277 do_action( 'http_api_debug', $response, 'response', 'Requests', $parsed_args, $url ); 278 278 return $response; … … 281 281 if ( $this->block_request( $url ) ) { 282 282 $response = new WP_Error( 'http_request_not_executed', __( 'User has blocked requests through HTTP.' ) ); 283 /** This action is documented in wp-includes/class- http.php */283 /** This action is documented in wp-includes/class-wp-http.php */ 284 284 do_action( 'http_api_debug', $response, 'response', 'Requests', $parsed_args, $url ); 285 285 return $response; … … 298 298 if ( ! wp_is_writable( dirname( $parsed_args['filename'] ) ) ) { 299 299 $response = new WP_Error( 'http_request_failed', __( 'Destination directory for file streaming does not exist or is not writable.' ) ); 300 /** This action is documented in wp-includes/class- http.php */300 /** This action is documented in wp-includes/class-wp-http.php */ 301 301 do_action( 'http_api_debug', $response, 'response', 'Requests', $parsed_args, $url ); 302 302 return $response; … … 586 586 $response = $transports[ $class ]->request( $url, $args ); 587 587 588 /** This action is documented in wp-includes/class- http.php */588 /** This action is documented in wp-includes/class-wp-http.php */ 589 589 do_action( 'http_api_debug', $response, 'response', $class, $args, $url ); 590 590 … … 593 593 } 594 594 595 /** This filter is documented in wp-includes/class- http.php */595 /** This filter is documented in wp-includes/class-wp-http.php */ 596 596 return apply_filters( 'http_response', $response, $args, $url ); 597 597 } -
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r51590 r52026 6924 6924 $remote_ip = preg_replace( '/[^0-9a-fA-F:., ]/', '', $_SERVER['REMOTE_ADDR'] ); 6925 6925 6926 /** This filter is documented in wp-includes/class- http.php */6926 /** This filter is documented in wp-includes/class-wp-http.php */ 6927 6927 $user_agent = apply_filters( 'http_headers_useragent', 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ), $pagelinkedfrom ); 6928 6928 -
trunk/src/wp-settings.php
r51973 r52026 231 231 require ABSPATH . WPINC . '/media.php'; 232 232 require ABSPATH . WPINC . '/http.php'; 233 require ABSPATH . WPINC . '/class- http.php';233 require ABSPATH . WPINC . '/class-wp-http.php'; 234 234 require ABSPATH . WPINC . '/class-wp-http-streams.php'; 235 235 require ABSPATH . WPINC . '/class-wp-http-curl.php';
Note: See TracChangeset
for help on using the changeset viewer.