From 7e7666d514444ec9dfd7a81b6791bd87401086c9 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Wed, 4 Dec 2013 03:29:10 +0000 Subject: [PATCH] Twenty Fourteen: remove `wp_is_mobile()` call from post thumbnail size logic as it's not intended for front-end use. Props kwight, fixes #26221. Built from https://develop.svn.wordpress.org/trunk@26599 git-svn-id: http://core.svn.wordpress.org/trunk@26489 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfourteen/inc/template-tags.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentyfourteen/inc/template-tags.php b/wp-content/themes/twentyfourteen/inc/template-tags.php index 9c3a6aba6e..0cfdf806fd 100644 --- a/wp-content/themes/twentyfourteen/inc/template-tags.php +++ b/wp-content/themes/twentyfourteen/inc/template-tags.php @@ -165,10 +165,10 @@ add_action( 'edit_category', 'twentyfourteen_category_transient_flusher' ); add_action( 'save_post', 'twentyfourteen_category_transient_flusher' ); /** - * Display an optional post thumbnail on a single view. + * Display an optional post thumbnail. * - * Adds an anchor element to the post thumbnail, when on - * index views, and a div element when on a single view. + * Wraps the post thumbnail in an anchor element on index + * views, or a div element when on single views. * * @since Twenty Fourteen 1.0 * @@ -184,7 +184,7 @@ function twentyfourteen_post_thumbnail() {
" rel="">