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-content/themes/twentyten/functions.php

    r13214 r13398  
    33// Set the content width based on the Theme CSS
    44if ( ! isset( $content_width ) )
    5    $content_width = 640;
     5    $content_width = 640;
    66
    77if ( ! function_exists( 'twentyten_init' ) ) :
     
    2727    set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );
    2828
    29     // Add default posts and comments RSS feed links to head.
    30     automatic_feed_links();
     29    // Add default posts and comments RSS feed links to head
     30    add_theme_support( 'automatic-feed-links' );
    3131
    3232    // Make theme available for translation
Note: See TracChangeset for help on using the changeset viewer.