From 6bf47b869f3f1c8b2743b5385b9e61fef8d59037 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Wed, 27 Mar 2013 05:11:41 +0000 Subject: [PATCH] Twenty Thirteen: explicitly declare 'link' and 'video' as the only (current) structured post formats in Twenty Thirteen. See #23852 #23619 #23864 and #23620. git-svn-id: http://core.svn.wordpress.org/trunk@23803 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentythirteen/functions.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentythirteen/functions.php b/wp-content/themes/twentythirteen/functions.php index 541e2e0524..6e2e9b042b 100644 --- a/wp-content/themes/twentythirteen/functions.php +++ b/wp-content/themes/twentythirteen/functions.php @@ -69,9 +69,15 @@ function twentythirteen_setup() { /* * This theme supports all available post formats. * 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( - 'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video' + 'link', 'video' + ) ); + add_theme_support( 'post-formats', array( + 'aside', 'audio', 'chat', 'gallery', 'image', 'quote', 'status' ) ); /*