Don't require admin-header.
git-svn-id: https://develop.svn.wordpress.org/trunk@3361 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8c39cb14c3
commit
152fe33307
@ -241,8 +241,6 @@ case 'deletecomment':
|
||||
|
||||
case 'unapprovecomment':
|
||||
|
||||
require_once('./admin-header.php');
|
||||
|
||||
check_admin_referer();
|
||||
|
||||
$comment = (int) $_GET['comment'];
|
||||
|
Loading…
Reference in New Issue
Block a user