diff --git a/src/wp-admin/custom-header.php b/src/wp-admin/custom-header.php index bfa15a046e..6ef81c0870 100644 --- a/src/wp-admin/custom-header.php +++ b/src/wp-admin/custom-header.php @@ -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;