From d4f1296098e660a69c9b6e73d09a59286c6190aa Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 25 Oct 2014 15:56:19 +0000 Subject: [PATCH] Fix a copy/paste issue in Custom_Image_Header::get_header_dimensions() introduced in [27497]. props ipm-frommen. fixes #30095. Built from https://develop.svn.wordpress.org/trunk@30021 git-svn-id: http://core.svn.wordpress.org/trunk@30021 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/custom-header.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index 76f6f746d1..a9aa537f39 100644 --- a/wp-admin/custom-header.php +++ b/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 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index e70b4c7daa..0ec3a63ba7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-alpha-30020'; +$wp_version = '4.1-alpha-30021'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.