Skip to content

Commit 14ab358

Browse files
committed
XML-RPC: Switch to wp_safe_remote() when fetching a pingback URL.
This corrects the accidental revert of [61879] in [61880]. git-svn-id: https://develop.svn.wordpress.org/trunk@61881 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 463afe6 commit 14ab358

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/class-wp-http-ixr-client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function query( ...$args ) {
8989
echo '<pre class="ixr_request">' . htmlspecialchars( $xml ) . "\n</pre>\n\n";
9090
}
9191

92-
$response = wp_remote_post( $url, $args );
92+
$response = wp_safe_remote_post( $url, $args );
9393

9494
if ( is_wp_error( $response ) ) {
9595
$errno = $response->get_error_code();

0 commit comments

Comments
 (0)