From 334fc5b9f25b1a88199527f26d14f47922963d18 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sat, 1 Nov 2014 01:23:50 +0000 Subject: [PATCH] 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 --- src/wp-admin/custom-header.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-admin/custom-header.php b/src/wp-admin/custom-header.php index 485d6e863a..bfa15a046e 100644 --- a/src/wp-admin/custom-header.php +++ b/src/wp-admin/custom-header.php @@ -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 ) ) {