Nonce fix from Mark Jaquith. fixes #2782
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4d0ae7b3f9
commit
acfc53adce
|
@ -136,7 +136,7 @@ switch ($action) {
|
|||
case 'editlink':
|
||||
{
|
||||
$link_id = (int) $_POST['link_id'];
|
||||
check_admin_referer('update-bookmark' . $link_id);
|
||||
check_admin_referer('update-bookmark_' . $link_id);
|
||||
|
||||
if (isset($links_show_cat_id) && ($links_show_cat_id != ''))
|
||||
$cat_id = $links_show_cat_id;
|
||||
|
|
Loading…
Reference in New Issue