Make WordPress Core

Changeset 26598


Ignore:
Timestamp:
12/04/2013 03:23:41 AM (10 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: ensure attachment image size is correct at 810 pixels. Props iamtakashi, fixes #26384.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/functions.php

    r26581 r26598  
    297297     *     An array of height and width dimensions.
    298298     *
    299      *     @type int $height Height of the image in pixels. Default 1200.
    300      *     @type int $width  Width of the image in pixels. Default 1200.
     299     *     @type int $height Height of the image in pixels. Default 810.
     300     *     @type int $width  Width of the image in pixels. Default 810.
    301301     * }
    302302     */
    303     $attachment_size     = apply_filters( 'twentyfourteen_attachment_size', array( 1200, 1200 ) );
     303    $attachment_size     = apply_filters( 'twentyfourteen_attachment_size', array( 810, 810 ) );
    304304    $next_attachment_url = wp_get_attachment_url();
    305305
Note: See TracChangeset for help on using the changeset viewer.