WordPress.org

Make WordPress Core

Ticket #21515: 21515.2.patch

File 21515.2.patch, 524 bytes (added by SergeyBiryukov, 6 years ago)

Same as 21515.patch, with proper whitespace

  • wp-includes/class-wp-customize-control.php

     
    750750         */
    751751        public function prepare_control() {
    752752                global $custom_image_header;
     753                if ( empty( $custom_image_header ) )
     754                        return parent::prepare_control();
    753755
    754756                // Process default headers and uploaded headers.
    755757                $custom_image_header->process_default_headers();