From 76091e3e9db30b6bdb0caa18247a43b244d28b76 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 14 Feb 2010 08:07:55 +0000 Subject: [PATCH] Use automatic_feed_links() in twentyten, see #9015 git-svn-id: https://develop.svn.wordpress.org/trunk@13144 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 @@ - -