link-manager.php assumed register globals was on for one variable
git-svn-id: http://svn.automattic.com/wordpress/trunk@1416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
72a8403905
commit
5774c3204d
|
@ -306,7 +306,7 @@ switch ($action) {
|
|||
if ($user_level < get_settings('links_minadminlevel')) {
|
||||
die(__('You do not have sufficient permissions to edit the links for this blog.'));
|
||||
}
|
||||
|
||||
$link_id = $_GET["link_id"];
|
||||
$row = $wpdb->get_row("SELECT *
|
||||
FROM $wpdb->links
|
||||
WHERE link_id = $link_id");
|
||||
|
|
Loading…
Reference in New Issue