mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 22:45:39 +00:00
Replace get_bloginfo( 'wpurl' )
with site_url()
in rsd_link()
.
Ensure the correct scheme is used for the `application/rsd+xml` link URL. Props johnbillion. See #34280. Built from https://develop.svn.wordpress.org/trunk@35105 git-svn-id: http://core.svn.wordpress.org/trunk@35070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
649382a7f1
commit
426944c744
@ -2445,7 +2445,7 @@ function feed_links_extra( $args = array() ) {
|
||||
* @since 2.0.0
|
||||
*/
|
||||
function rsd_link() {
|
||||
echo '<link rel="EditURI" type="application/rsd+xml" title="RSD" href="' . get_bloginfo('wpurl') . "/xmlrpc.php?rsd\" />\n";
|
||||
echo '<link rel="EditURI" type="application/rsd+xml" title="RSD" href="' . esc_url( site_url( 'xmlrpc.php?rsd', 'rpc' ) ) . '" />' . "\n";
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-35104';
|
||||
$wp_version = '4.4-alpha-35105';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user