Changeset 37514
- Timestamp:
- 05/22/2016 06:42:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-http.php
r37436 r37514 154 154 'method' => 'GET', 155 155 /** 156 * Filter the timeout value for an HTTP request.156 * Filters the timeout value for an HTTP request. 157 157 * 158 158 * @since 2.7.0 … … 163 163 'timeout' => apply_filters( 'http_request_timeout', 5 ), 164 164 /** 165 * Filter the number of redirects allowed during an HTTP request.165 * Filters the number of redirects allowed during an HTTP request. 166 166 * 167 167 * @since 2.7.0 … … 171 171 'redirection' => apply_filters( 'http_request_redirection_count', 5 ), 172 172 /** 173 * Filter the version of the HTTP protocol used in a request.173 * Filters the version of the HTTP protocol used in a request. 174 174 * 175 175 * @since 2.7.0 … … 180 180 'httpversion' => apply_filters( 'http_request_version', '1.0' ), 181 181 /** 182 * Filter the user agent value sent with an HTTP request.182 * Filters the user agent value sent with an HTTP request. 183 183 * 184 184 * @since 2.7.0 … … 188 188 'user-agent' => apply_filters( 'http_headers_useragent', 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) ), 189 189 /** 190 * Filter whether to pass URLs through wp_http_validate_url() in an HTTP request.190 * Filters whether to pass URLs through wp_http_validate_url() in an HTTP request. 191 191 * 192 192 * @since 3.6.0 … … 218 218 $r = wp_parse_args( $args, $defaults ); 219 219 /** 220 * Filter the arguments used in an HTTP request.220 * Filters the arguments used in an HTTP request. 221 221 * 222 222 * @since 2.7.0 … … 232 232 233 233 /** 234 * Filter whether to preempt an HTTP request's return value.234 * Filters whether to preempt an HTTP request's return value. 235 235 * 236 236 * Returning a non-false value from the filter will short-circuit the HTTP request and return … … 340 340 341 341 /** 342 * Filter whether SSL should be verified for non-local requests.342 * Filters whether SSL should be verified for non-local requests. 343 343 * 344 344 * @since 2.8.0 … … 387 387 388 388 /** 389 * Filter the HTTP API response immediately before the response is returned.389 * Filters the HTTP API response immediately before the response is returned. 390 390 * 391 391 * @since 2.9.0 … … 432 432 433 433 /** 434 * Filter which HTTP transports are available and in what order.434 * Filters which HTTP transports are available and in what order. 435 435 * 436 436 * @since 3.7.0 … … 507 507 508 508 /** 509 * Filter the HTTP API response immediately before the response is returned.509 * Filters the HTTP API response immediately before the response is returned. 510 510 * 511 511 * @since 2.9.0 … … 776 776 if ( 'localhost' == $check['host'] || ( isset( $home['host'] ) && $home['host'] == $check['host'] ) ) { 777 777 /** 778 * Filter whether to block local requests through the proxy.778 * Filters whether to block local requests through the proxy. 779 779 * 780 780 * @since 2.8.0
Note: See TracChangeset
for help on using the changeset viewer.