Make WordPress Core

Changeset 28277


Ignore:
Timestamp:
05/06/2014 05:24:30 AM (12 years ago)
Author:
nacin
Message:

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

Merges [28275] to the 3.9 branch.

props obenland.
fixes #27850.

Location:
branches/3.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.9

  • branches/3.9/src/wp-admin/custom-header.php

    r27947 r28277  
    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.