In `Custom_Image_Header->step_2()`, `$type` is set internally but never used.
See #30224. git-svn-id: https://develop.svn.wordpress.org/trunk@30136 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bdf61ef6a0
commit
334fc5b9f2
|
@ -749,7 +749,6 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
|
|||
$attachment_id = $data['attachment_id'];
|
||||
$file = $data['file'];
|
||||
$url = $data['url'];
|
||||
$type = $data['type'];
|
||||
}
|
||||
|
||||
if ( file_exists( $file ) ) {
|
||||
|
|
Loading…
Reference in New Issue