mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-05 17:50:03 +00:00
Ref checks from mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@3665 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -164,6 +164,8 @@ case 'mailapprovecomment':
|
||||
|
||||
case 'approvecomment':
|
||||
|
||||
check_admin_referer();
|
||||
|
||||
$comment = (int) $_GET['comment'];
|
||||
$p = (int) $_GET['p'];
|
||||
if (isset($_GET['noredir'])) {
|
||||
@@ -194,6 +196,8 @@ case 'approvecomment':
|
||||
|
||||
case 'editedcomment':
|
||||
|
||||
check_admin_referer();
|
||||
|
||||
edit_comment();
|
||||
|
||||
$referredby = $_POST['referredby'];
|
||||
@@ -208,4 +212,4 @@ default:
|
||||
break;
|
||||
} // end switch
|
||||
include('admin-footer.php');
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user