rsd_link

The timeline below displays how wordpress function rsd_link has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.1

/**
 * Displays the link to the Really Simple Discovery service endpoint.
 *
 * @link http://archipelago.phrasewise.com/rsd
 * @since 2.0.0
 */
function rsd_link()
{
    printf('<link rel="EditURI" type="application/rsd+xml" title="RSD" href="%s" />' . "\n", esc_url(site_url('xmlrpc.php?rsd', 'rpc')));
}

WordPress Version: 4.4

/**
 * Display the link to the Really Simple Discovery service endpoint.
 *
 * @link http://archipelago.phrasewise.com/rsd
 * @since 2.0.0
 */
function rsd_link()
{
    echo '<link rel="EditURI" type="application/rsd+xml" title="RSD" href="' . esc_url(site_url('xmlrpc.php?rsd', 'rpc')) . '" />' . "\n";
}

WordPress Version: 3.7

/**
 * Display the link to the Really Simple Discovery service endpoint.
 *
 * @link http://archipelago.phrasewise.com/rsd
 * @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";
}