Don't require admin-header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
94b2a5ad5d
commit
c24a484571
|
@ -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