mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 06:29:30 +00:00
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…
x
Reference in New Issue
Block a user