Make WordPress Core

Changeset 55901


Ignore:
Timestamp:
06/09/2023 01:58:02 PM (18 months ago)
Author:
audrasjb
Message:

XML-RPC: Update RSD specification URL in XMLRPC library.

This changeset updates the RSD specification URL to avoid extra redirection.

Props utsav72640.
Fixes #58503.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/xmlrpc.php

    r54891 r55901  
    77
    88/**
    9  * Whether this is an XML-RPC Request
     9 * Whether this is an XML-RPC Request.
    1010 *
    1111 * @var bool
     
    3131require_once __DIR__ . '/wp-load.php';
    3232
    33 if ( isset( $_GET['rsd'] ) ) { // http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html
     33if ( isset( $_GET['rsd'] ) ) { // https://cyber.harvard.edu/blogs/gems/tech/rsd.html
    3434    header( 'Content-Type: text/xml; charset=' . get_option( 'blog_charset' ), true );
    3535    echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?' . '>';
     
    4747            <?php
    4848            /**
    49              * Add additional APIs to the Really Simple Discovery (RSD) endpoint.
     49             * Adds additional APIs to the Really Simple Discovery (RSD) endpoint.
    5050             *
    51              * @link http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html
     51             * @link https://cyber.harvard.edu/blogs/gems/tech/rsd.html
    5252             *
    5353             * @since 3.5.0
Note: See TracChangeset for help on using the changeset viewer.