From 84d9b4241b1e484e4b944bbcb71eb97b24b3a7d3 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Wed, 4 Dec 2013 03:24:19 +0000 Subject: [PATCH] Twenty Fourteen: ensure attachment image size is correct at 810 pixels. Props iamtakashi, fixes #26384. Built from https://develop.svn.wordpress.org/trunk@26598 git-svn-id: http://core.svn.wordpress.org/trunk@26488 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfourteen/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/twentyfourteen/functions.php b/wp-content/themes/twentyfourteen/functions.php index a8bd46011c..12a8009bb9 100644 --- a/wp-content/themes/twentyfourteen/functions.php +++ b/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(); /*