Remove this check in favor of the one added in [17126]. see #15969.

git-svn-id: https://develop.svn.wordpress.org/trunk@17127 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-12-23 19:40:32 +00:00
parent 53644f0409
commit d5444ee24a

View File

@ -146,7 +146,7 @@ if ( $action ) {
require_once(ABSPATH . 'wp-admin/admin-footer.php');
exit;
} // Endif verify-delete
check_admin_referer('bulk-themes');
foreach ( $themes as $theme )
$delete_result = delete_theme( $theme );
wp_redirect( network_admin_url( 'themes.php?deleted=true' ) );