Ticket #10640: 10640.3.diff
File 10640.3.diff, 962 bytes (added by , 15 years ago) |
---|
-
wp-includes/default-filters.php
191 191 add_action( 'wp_head', 'wp_generator' ); 192 192 add_action( 'wp_head', 'rel_canonical' ); 193 193 add_action( 'wp_footer', 'wp_print_footer_scripts' ); 194 add_action( 'wp_head', 'wp_shortlink_wp_head' 195 add_action( ' wp', 'wp_shortlink_header');194 add_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 ); 195 add_action( 'template_redirect', 'wp_shortlink_header', 11, 0 ); 196 196 197 197 // Feed Generator Tags 198 198 foreach ( array( 'rss2_head', 'commentsrss2_head', 'rss_head', 'rdf_header', 'atom_head', 'comments_atom_head', 'opml_head', 'app_head' ) as $action ) {