mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01: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. Built from https://develop.svn.wordpress.org/trunk@52026 git-svn-id: http://core.svn.wordpress.org/trunk@51618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6ad1bf0e3e
commit
107d13bc28
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 */
|
/** This filter is documented in wp-includes/class-wp-http-streams.php */
|
||||||
$ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url );
|
$ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url );
|
||||||
} elseif ( ! $is_local ) {
|
} 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 );
|
$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 );
|
$ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url );
|
||||||
} elseif ( ! $is_local ) {
|
} 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 );
|
$ssl_verify = apply_filters( 'https_ssl_verify', $ssl_verify, $url );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1099
wp-includes/class-wp-http.php
Normal file
1099
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'] );
|
$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 );
|
$user_agent = apply_filters( 'http_headers_useragent', 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ), $pagelinkedfrom );
|
||||||
|
|
||||||
// Let's check the remote site.
|
// Let's check the remote site.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.9-alpha-52025';
|
$wp_version = '5.9-alpha-52026';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
@ -230,7 +230,7 @@ require ABSPATH . WPINC . '/class-wp-oembed.php';
|
|||||||
require ABSPATH . WPINC . '/class-wp-oembed-controller.php';
|
require ABSPATH . WPINC . '/class-wp-oembed-controller.php';
|
||||||
require ABSPATH . WPINC . '/media.php';
|
require ABSPATH . WPINC . '/media.php';
|
||||||
require ABSPATH . WPINC . '/http.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-streams.php';
|
||||||
require ABSPATH . WPINC . '/class-wp-http-curl.php';
|
require ABSPATH . WPINC . '/class-wp-http-curl.php';
|
||||||
require ABSPATH . WPINC . '/class-wp-http-proxy.php';
|
require ABSPATH . WPINC . '/class-wp-http-proxy.php';
|
||||||
|
Loading…
Reference in New Issue
Block a user