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. git-svn-id: https://develop.svn.wordpress.org/trunk@30187 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
19eb835aee
commit
c502804272
|
@ -60,6 +60,11 @@ class Custom_Image_Header {
|
|||
*/
|
||||
private $page = '';
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
private $updated;
|
||||
|
||||
/**
|
||||
* Constructor - Register administration header callback.
|
||||
*
|
||||
|
@ -300,9 +305,6 @@ class Custom_Image_Header {
|
|||
public function process_default_headers() {
|
||||
global $_wp_default_headers;
|
||||
|
||||
if ( !empty($this->headers) )
|
||||
return;
|
||||
|
||||
if ( !isset($_wp_default_headers) )
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue