Define the variable before using it. fixes #23181.
git-svn-id: https://develop.svn.wordpress.org/trunk@23337 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b0e067cd0a
commit
a7d1dfad01
@ -1001,6 +1001,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
|
||||
|
||||
$default = sprintf( $default, get_template_directory_uri(), get_stylesheet_directory_uri() );
|
||||
|
||||
$default_data = array();
|
||||
foreach ( $this->default_headers as $header => $details ) {
|
||||
if ( $details['url'] == $default ) {
|
||||
$default_data = $details;
|
||||
|
Loading…
Reference in New Issue
Block a user