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:
ryan 2006-06-04 21:00:32 +00:00
parent 4d0ae7b3f9
commit acfc53adce

View File

@ -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;