Make WordPress Core

Ticket #58503: xmlrpc.patch

File xmlrpc.patch, 992 bytes (added by utsav72640, 18 months ago)

xmlrpc.php

  • src/xmlrpc.php

    diff --git a/src/xmlrpc.php b/src/xmlrpc.php
    index 3f35815525..3cbe800f03 100644
    a b if ( isset( $HTTP_RAW_POST_DATA ) ) { 
    3030/** Include the bootstrap for setting up WordPress environment */
    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' ) . '"?' . '>';
    3636        ?>
    if ( isset( $_GET['rsd'] ) ) { // http://cyber.law.harvard.edu/blogs/gems/tech/r 
    4848                        /**
    4949                         * Add 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
    5454                         */