WordPress.org

Make WordPress Core

Ticket #21515: 21515.patch

File 21515.patch, 523 bytes (added by c3mdigital, 6 years ago)
  • 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();