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
This commit is contained in:
parent
340ab3f89d
commit
84d9b4241b
|
@ -296,11 +296,11 @@ function twentyfourteen_the_attached_image() {
|
||||||
* @param array $dimensions {
|
* @param array $dimensions {
|
||||||
* An array of height and width dimensions.
|
* An array of height and width dimensions.
|
||||||
*
|
*
|
||||||
* @type int $height Height 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 1200.
|
* @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();
|
$next_attachment_url = wp_get_attachment_url();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue