Ticket #12495: 12495.diff
File 12495.diff, 1.0 KB (added by , 15 years ago) |
---|
-
wp-includes/default-filters.php
188 188 add_action( 'wp_head', 'noindex', 1 ); 189 189 add_action( 'wp_head', 'wp_print_styles', 8 ); 190 190 add_action( 'wp_head', 'wp_print_head_scripts', 9 ); 191 add_action( 'wp_head', 'wp_generator' );192 191 add_action( 'wp_head', 'rel_canonical' ); 193 192 add_action( 'wp_footer', 'wp_print_footer_scripts' ); 194 193 195 // Feed Generator Tags196 foreach ( array( 'rss2_head', 'commentsrss2_head', 'rss_head', 'rdf_header', 'atom_head', 'comments_atom_head', 'opml_head', 'app_head' ) as $action ) {197 add_action( $action, 'the_generator' );198 }199 200 194 // WP Cron 201 195 if ( !defined( 'DOING_CRON' ) ) 202 196 add_action( 'sanitize_comment_cookies', 'wp_cron' );