Ticket #5023: wlw-head.diff
File wlw-head.diff, 1.3 KB (added by , 18 years ago) |
---|
-
wp-includes/general-template.php
829 829 echo ' <link rel="EditURI" type="application/rsd+xml" title="RSD" href="' . get_bloginfo('wpurl') . "/xmlrpc.php?rsd\" />\n"; 830 830 } 831 831 832 function wlwmanifest_link() { 833 echo ' <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="' 834 . get_bloginfo('wpurl') . '/wp-includes/wlwmanifest.xml" /> '; 835 } 836 832 837 function noindex() { 833 838 // If the blog is not public, tell robots to go away. 834 839 if ( '0' == get_option('blog_public') ) -
wp-includes/default-filters.php
136 136 137 137 // Actions 138 138 add_action('wp_head', 'rsd_link'); 139 add_action('wp_head', 'wlwmanifest_link'); 139 140 add_action('wp_head', 'locale_stylesheet'); 140 141 add_action('publish_future_post', 'wp_publish_post', 10, 1); 141 142 add_action('wp_head', 'noindex', 1); … … 165 166 add_action('edit_post', 'wp_check_for_changed_slugs'); 166 167 add_action('edit_form_advanced', 'wp_remember_old_slug'); 167 168 168 ?> 169 No newline at end of file 169 ?>