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
This commit is contained in:
parent
37a37b5fc5
commit
7cf4102f39
|
@ -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();
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue