WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/25/2010 08:56:19 AM (10 years ago)
Author:
dd32
Message:

Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/deprecated.php

    r13382 r13398  
    24132413    return true;
    24142414}
     2415
     2416/**
     2417 * Enable automatic general feed link outputting.
     2418 *
     2419 * @since 2.8.0
     2420 * @deprecated 3.0.0
     2421 * @deprecated Use add_theme_support( 'automatic-feed-links' )
     2422 */
     2423function automatic_feed_links() {
     2424    _deprecated_function( __FUNCTION__, '3.0', "add_theme_support( 'automatic-feed-links' )" );
     2425    add_theme_support( 'automatic-feed-links' );
     2426}
Note: See TracChangeset for help on using the changeset viewer.