Changeset 13399
- Timestamp:
- 02/25/2010 11:09:34 AM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-filters.php
r13398 r13399 170 170 // Actions 171 171 add_action( 'wp_head', 'wp_enqueue_scripts', 1 ); 172 add_action( 'wp_head', 'feed_links', 3);172 add_action( 'wp_head', 'feed_links', 2 ); 173 173 add_action( 'wp_head', 'feed_links_extra', 3 ); 174 174 add_action( 'wp_head', 'rsd_link' ); -
trunk/wp-includes/deprecated.php
r13398 r13399 2415 2415 2416 2416 /** 2417 * Enable automatic general feed link outputting.2417 * Enable/disable automatic general feed link outputting. 2418 2418 * 2419 2419 * @since 2.8.0 2420 2420 * @deprecated 3.0.0 2421 2421 * @deprecated Use add_theme_support( 'automatic-feed-links' ) 2422 */ 2423 function automatic_feed_links() { 2422 * 2423 * @param boolean $add Optional, default is true. Add or remove links. Defaults to true. 2424 */ 2425 function automatic_feed_links( $add = true ) { 2424 2426 _deprecated_function( __FUNCTION__, '3.0', "add_theme_support( 'automatic-feed-links' )" ); 2425 add_theme_support( 'automatic-feed-links' ); 2426 } 2427 2428 if ( $add ) 2429 add_theme_support( 'automatic-feed-links' ); 2430 else 2431 remove_action( 'wp_head', 'feed_links_extra', 3 ); // Just do this yourself in 3.0+ 2432 }
Note: See TracChangeset
for help on using the changeset viewer.