From 8e48c44de4ce5531f07f00abf7cf0458192459ec Mon Sep 17 00:00:00 2001 From: nacin Date: Sun, 14 Feb 2010 08:07:55 +0000 Subject: [PATCH] Use automatic_feed_links() in twentyten, see #9015 git-svn-id: http://svn.automattic.com/wordpress/trunk@13144 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyten/functions.php | 3 +++ wp-content/themes/twentyten/header.php | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentyten/functions.php b/wp-content/themes/twentyten/functions.php index 7a4d1547f8..4f915728b9 100644 --- a/wp-content/themes/twentyten/functions.php +++ b/wp-content/themes/twentyten/functions.php @@ -37,6 +37,9 @@ add_theme_support( 'post-thumbnails' ); // so we want them to be 940 pixels wide by 198 pixels tall (larger images will be auto-cropped to fit) set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true ); +// Add default posts and comments RSS feed links to head. +automatic_feed_links(); + // Make theme available for translation // Translations can be filed in the /languages/ directory load_theme_textdomain( 'twentyten', TEMPLATEPATH . '/languages' ); diff --git a/wp-content/themes/twentyten/header.php b/wp-content/themes/twentyten/header.php index 07e424e9e3..9342adf4f1 100644 --- a/wp-content/themes/twentyten/header.php +++ b/wp-content/themes/twentyten/header.php @@ -27,8 +27,6 @@ - -