Remove unneeded addslashes().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1c803e1f58
commit
05aa21431e
|
@ -259,7 +259,7 @@ switch ($action) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$wpdb->query("UPDATE $wpdb->links SET link_url='" . $link_url . "',
|
$wpdb->query("UPDATE $wpdb->links SET link_url='" . $link_url . "',
|
||||||
link_name='" . addslashes($link_name) . "',\n link_image='" . $link_image . "',
|
link_name='" . $link_name . "',\n link_image='" . $link_image . "',
|
||||||
link_target='$link_target',\n link_category=$link_category,
|
link_target='$link_target',\n link_category=$link_category,
|
||||||
link_visible='$link_visible',\n link_description='" . $link_description . "',
|
link_visible='$link_visible',\n link_description='" . $link_description . "',
|
||||||
link_rating=$link_rating,
|
link_rating=$link_rating,
|
||||||
|
|
Loading…
Reference in New Issue