From 5068f4781bda7ecb55e89339ceca1ee8c9997f93 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Fri, 9 Jun 2023 13:58:02 +0000 Subject: [PATCH] XML-RPC: Update RSD specification URL in XMLRPC library. This changeset updates the RSD specification URL to avoid extra redirection. Props utsav72640. Fixes #58503. git-svn-id: https://develop.svn.wordpress.org/trunk@55901 602fd350-edb4-49c9-b593-d223f7449a82 --- src/xmlrpc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xmlrpc.php b/src/xmlrpc.php index 3f35815525..55800daaf4 100644 --- a/src/xmlrpc.php +++ b/src/xmlrpc.php @@ -6,7 +6,7 @@ */ /** - * Whether this is an XML-RPC Request + * Whether this is an XML-RPC Request. * * @var bool */ @@ -30,7 +30,7 @@ if ( isset( $HTTP_RAW_POST_DATA ) ) { /** Include the bootstrap for setting up WordPress environment */ require_once __DIR__ . '/wp-load.php'; -if ( isset( $_GET['rsd'] ) ) { // http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html +if ( isset( $_GET['rsd'] ) ) { // https://cyber.harvard.edu/blogs/gems/tech/rsd.html header( 'Content-Type: text/xml; charset=' . get_option( 'blog_charset' ), true ); echo ''; ?> @@ -46,9 +46,9 @@ if ( isset( $_GET['rsd'] ) ) { // http://cyber.law.harvard.edu/blogs/gems/tech/r