From 929093695eff31e431a26d01cbcdab5fee3e1d5c 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: https://develop.svn.wordpress.org/trunk@23803 602fd350-edb4-49c9-b593-d223f7449a82 --- 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' ) ); /*