From 89b6c2a5f66a22da762752b51f79067d40c2b94f Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Wed, 1 May 2013 17:37:44 +0000 Subject: [PATCH] Twenty Thirteen: remove unneeded "structured" post formats `add_theme_support()` declaration. Fixes #24109. git-svn-id: http://core.svn.wordpress.org/trunk@24151 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentythirteen/functions.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/wp-content/themes/twentythirteen/functions.php b/wp-content/themes/twentythirteen/functions.php index ae6e9fc895..0b0829ea4f 100644 --- a/wp-content/themes/twentythirteen/functions.php +++ b/wp-content/themes/twentythirteen/functions.php @@ -78,17 +78,11 @@ function twentythirteen_setup() { add_theme_support( 'automatic-feed-links' ); /* - * This theme supports all available post formats. + * This theme supports all available post formats by default. * See http://codex.wordpress.org/Post_Formats - * - * Structured post formats are formats where Twenty Thirteen handles the - * output instead of the default core HTML output. */ - add_theme_support( 'structured-post-formats', array( - 'link', 'video' - ) ); add_theme_support( 'post-formats', array( - 'aside', 'audio', 'chat', 'gallery', 'image', 'quote', 'status' + 'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video' ) ); // This theme uses wp_nav_menu() in one location.