mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +01:00
Move wp_shortlink_header to template_redirect. Props miqrogroove. see #10640
git-svn-id: http://svn.automattic.com/wordpress/trunk@13652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4fa5b08842
commit
d0ccd6b2ee
@ -191,8 +191,8 @@ add_action( 'wp_head', 'wp_print_head_scripts', 9 );
|
|||||||
add_action( 'wp_head', 'wp_generator' );
|
add_action( 'wp_head', 'wp_generator' );
|
||||||
add_action( 'wp_head', 'rel_canonical' );
|
add_action( 'wp_head', 'rel_canonical' );
|
||||||
add_action( 'wp_footer', 'wp_print_footer_scripts' );
|
add_action( 'wp_footer', 'wp_print_footer_scripts' );
|
||||||
add_action( 'wp_head', 'wp_shortlink_wp_head' );
|
add_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 );
|
||||||
add_action( 'wp', 'wp_shortlink_header' );
|
add_action( 'template_redirect', 'wp_shortlink_header', 11, 0 );
|
||||||
|
|
||||||
// Feed Generator Tags
|
// Feed Generator Tags
|
||||||
foreach ( array( 'rss2_head', 'commentsrss2_head', 'rss_head', 'rdf_header', 'atom_head', 'comments_atom_head', 'opml_head', 'app_head' ) as $action ) {
|
foreach ( array( 'rss2_head', 'commentsrss2_head', 'rss_head', 'rdf_header', 'atom_head', 'comments_atom_head', 'opml_head', 'app_head' ) as $action ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user