mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Coding Standards: Move wp-includes/class-http.php to wp-includes/class-wp-http.php.
This renames the file containing the `WP_Http` class to conform to the coding standards. This commit also includes: - A new `class-http.php` that includes the new file, for anyone that may've been including the file directly. - Replaces references to the old filename with the new filename. Follow-up to [8516], [13274], [33748]. Fixes #54389. See #53359. git-svn-id: https://develop.svn.wordpress.org/trunk@52026 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6523e724ee
commit
b7bbb52298
File diff suppressed because it is too large
Load Diff
@ -115,7 +115,7 @@ class WP_Http_Curl {
|
||||
/** This filter is documented in wp-includes/class-wp-http-streams.php */
|
||||
$ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url );
|
||||
} elseif ( ! $is_local ) {
|
||||
/** This filter is documented in wp-includes/class-http.php */
|
||||
/** This filter is documented in wp-includes/class-wp-http.php */
|
||||
$ssl_verify = apply_filters( 'https_ssl_verify', $ssl_verify, $url );
|
||||
}
|
||||
|
||||
|
||||
@ -105,7 +105,7 @@ class WP_Http_Streams {
|
||||
*/
|
||||
$ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url );
|
||||
} elseif ( ! $is_local ) {
|
||||
/** This filter is documented in wp-includes/class-http.php */
|
||||
/** This filter is documented in wp-includes/class-wp-http.php */
|
||||
$ssl_verify = apply_filters( 'https_ssl_verify', $ssl_verify, $url );
|
||||
}
|
||||
|
||||
|
||||
1099
src/wp-includes/class-wp-http.php
Normal file
1099
src/wp-includes/class-wp-http.php
Normal file
File diff suppressed because it is too large
Load Diff
@ -6923,7 +6923,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
|
||||
$remote_ip = preg_replace( '/[^0-9a-fA-F:., ]/', '', $_SERVER['REMOTE_ADDR'] );
|
||||
|
||||
/** This filter is documented in wp-includes/class-http.php */
|
||||
/** This filter is documented in wp-includes/class-wp-http.php */
|
||||
$user_agent = apply_filters( 'http_headers_useragent', 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ), $pagelinkedfrom );
|
||||
|
||||
// Let's check the remote site.
|
||||
|
||||
@ -230,7 +230,7 @@ require ABSPATH . WPINC . '/class-wp-oembed.php';
|
||||
require ABSPATH . WPINC . '/class-wp-oembed-controller.php';
|
||||
require ABSPATH . WPINC . '/media.php';
|
||||
require ABSPATH . WPINC . '/http.php';
|
||||
require ABSPATH . WPINC . '/class-http.php';
|
||||
require ABSPATH . WPINC . '/class-wp-http.php';
|
||||
require ABSPATH . WPINC . '/class-wp-http-streams.php';
|
||||
require ABSPATH . WPINC . '/class-wp-http-curl.php';
|
||||
require ABSPATH . WPINC . '/class-wp-http-proxy.php';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user