Make WordPress Core

Changeset 30021


Ignore:
Timestamp:
10/25/2014 03:55:37 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Fix a copy/paste issue in Custom_Image_Header::get_header_dimensions() introduced in [27497].

props ipm-frommen.
fixes #30095.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/custom-header.php

    r29454 r30021  
    11081108        $has_flex_height = current_theme_supports( 'custom-header', 'flex-height' );
    11091109        $has_max_width = current_theme_supports( 'custom-header', 'max-width' ) ;
    1110         $dst = array( 'dst_height' => null, 'dst_height' => null );
     1110        $dst = array( 'dst_height' => null, 'dst_width' => null );
    11111111
    11121112        // For flex, limit size of image displayed to 1500px unless theme says otherwise
Note: See TracChangeset for help on using the changeset viewer.