WordPress.org

Make WordPress Core

Changeset 30187


Ignore:
Timestamp:
11/03/2014 05:14:11 AM (5 years ago)
Author:
wonderboymusic
Message:

In Custom_Image_Header:

  • In ->process_default_headers(), remove check on non-existent $headers property. Introduced in [13403].
  • Declare $updated as a property.

See #30224.

File:
1 edited

Legend:

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

    r30136 r30187  
    6060     */
    6161    private $page = '';
     62
     63    /**
     64     * @var bool
     65     */
     66    private $updated;
    6267
    6368    /**
     
    300305    public function process_default_headers() {
    301306        global $_wp_default_headers;
    302 
    303         if ( !empty($this->headers) )
    304             return;
    305307
    306308        if ( !isset($_wp_default_headers) )
Note: See TracChangeset for help on using the changeset viewer.