From 8e3a90887eb08beb1c3786e7ab4f90cba71e5ca0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 25 Oct 2014 15:55:37 +0000 Subject: [PATCH] Fix a copy/paste issue in Custom_Image_Header::get_header_dimensions() introduced in [27497]. props ipm-frommen. fixes #30095. git-svn-id: https://develop.svn.wordpress.org/trunk@30021 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/custom-header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/custom-header.php b/src/wp-admin/custom-header.php index 76f6f746d1..a9aa537f39 100644 --- a/src/wp-admin/custom-header.php +++ b/src/wp-admin/custom-header.php @@ -1107,7 +1107,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> $has_flex_width = current_theme_supports( 'custom-header', 'flex-width' ); $has_flex_height = current_theme_supports( 'custom-header', 'flex-height' ); $has_max_width = current_theme_supports( 'custom-header', 'max-width' ) ; - $dst = array( 'dst_height' => null, 'dst_height' => null ); + $dst = array( 'dst_height' => null, 'dst_width' => null ); // For flex, limit size of image displayed to 1500px unless theme says otherwise if ( $has_flex_width ) {