XML-RPC: Switch to wp_safe_remote() when fetching a pingback URL.
Props xknown, johnbillion, peterwilsoncc. Built from https://develop.svn.wordpress.org/trunk@61879 git-svn-id: http://core.svn.wordpress.org/trunk@61161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -89,7 +89,7 @@ class WP_HTTP_IXR_Client extends IXR_Client {
|
||||
echo '<pre class="ixr_request">' . htmlspecialchars( $xml ) . "\n</pre>\n\n";
|
||||
}
|
||||
|
||||
$response = wp_remote_post( $url, $args );
|
||||
$response = wp_safe_remote_post( $url, $args );
|
||||
|
||||
if ( is_wp_error( $response ) ) {
|
||||
$errno = $response->get_error_code();
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.0-beta3-61878';
|
||||
$wp_version = '7.0-beta3-61879';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user