WordPress.org

Make WordPress Core

Changeset 22171


Ignore:
Timestamp:
10/10/2012 09:55:36 PM (9 years ago)
Author:
nacin
Message:

Reference xmlrpc.php with the 'rpc' site_url() argument to ensure a proper scheme is applied. see #18731.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r22152 r22171  
    496496                'blogid'        => (string) $blog_id,
    497497                'blogName'      => get_option( 'blogname' ),
    498                 'xmlrpc'        => site_url( 'xmlrpc.php' )
     498                'xmlrpc'        => site_url( 'xmlrpc.php', 'rpc' ),
    499499            );
    500500
     
    36483648            'blogid'   => '1',
    36493649            'blogName' => get_option('blogname'),
    3650             'xmlrpc'   => site_url( 'xmlrpc.php' )
     3650            'xmlrpc'   => site_url( 'xmlrpc.php', 'rpc' ),
    36513651        );
    36523652
Note: See TracChangeset for help on using the changeset viewer.