mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Remove this check in favor of the one added in [17126]. see #15969.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c7677394b7
commit
79b1cc7492
@ -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' ) );
|
||||
|
Loading…
Reference in New Issue
Block a user