From 7cf4102f394b89402c219371a638ac1660b96e6d Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Wed, 4 Dec 2013 03:23:41 +0000 Subject: [PATCH] Twenty Fourteen: ensure attachment image size is correct at 810 pixels. Props iamtakashi, fixes #26384. git-svn-id: https://develop.svn.wordpress.org/trunk@26598 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php index a8bd46011c..12a8009bb9 100644 --- a/src/wp-content/themes/twentyfourteen/functions.php +++ b/src/wp-content/themes/twentyfourteen/functions.php @@ -296,11 +296,11 @@ function twentyfourteen_the_attached_image() { * @param array $dimensions { * An array of height and width dimensions. * - * @type int $height Height of the image in pixels. Default 1200. - * @type int $width Width of the image in pixels. Default 1200. + * @type int $height Height of the image in pixels. Default 810. + * @type int $width Width of the image in pixels. Default 810. * } */ - $attachment_size = apply_filters( 'twentyfourteen_attachment_size', array( 1200, 1200 ) ); + $attachment_size = apply_filters( 'twentyfourteen_attachment_size', array( 810, 810 ) ); $next_attachment_url = wp_get_attachment_url(); /*