mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Add referer check. Props masquerade.
git-svn-id: https://develop.svn.wordpress.org/trunk@3621 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -77,6 +77,8 @@ case 'edit':
|
||||
break;
|
||||
|
||||
case 'editattachment':
|
||||
check_admin_referer();
|
||||
|
||||
$post_id = (int) $_POST['post_ID'];
|
||||
|
||||
// Don't let these be changed
|
||||
|
||||
Reference in New Issue
Block a user