From 9edcb0e8627a3e85df49f553102856aeb416dff6 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Wed, 4 Dec 2013 03:28:31 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@26599 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyfourteen/inc/template-tags.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/inc/template-tags.php b/src/wp-content/themes/twentyfourteen/inc/template-tags.php index 9c3a6aba6e..0cfdf806fd 100644 --- a/src/wp-content/themes/twentyfourteen/inc/template-tags.php +++ b/src/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="">