link-manager.php assumed register globals was on for one variable
git-svn-id: https://develop.svn.wordpress.org/trunk@1416 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7c8e02accb
commit
0d47cf1aab
@ -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
Block a user