mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Add RSD support. See http://archipelago.phrasewise.com/rsd
git-svn-id: https://develop.svn.wordpress.org/trunk@3009 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -83,5 +83,6 @@ add_filter('the_author', 'ent2ncr', 8);
|
||||
|
||||
// Actions
|
||||
add_action('publish_post', 'generic_ping');
|
||||
add_action('wp_head', 'rsd_link');
|
||||
|
||||
?>
|
||||
@@ -653,4 +653,8 @@ function the_weekday_date($before='',$after='') {
|
||||
echo $the_weekday_date;
|
||||
}
|
||||
|
||||
function rsd_link() {
|
||||
echo '<link rel="EditURI" type="application/rsd+xml" title="RSD" href="' . get_bloginfo('url') . "/xmlrpc.php?rsd\" />\n";
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user