Make WordPress Core

Changeset 28275


Ignore:
Timestamp:
05/06/2014 05:06:39 AM (11 years ago)
Author:
nacin
Message:

Custom header: Avoid warnings in the process_default_headers() method.

props obenland.
fixes #27850.

File:
1 edited

Legend:

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

    r28212 r28275  
    4141     * @access private
    4242     */
    43     var $default_headers;
     43    var $default_headers = array();
    4444
    4545    /**
     
    255255            return;
    256256
    257         if ( is_array( $this->default_headers ) ) {
     257        if ( ! empty( $this->default_headers ) ) {
    258258            return;
    259259        }
Note: See TracChangeset for help on using the changeset viewer.