Add sanitization to get_link() and get_link_to_edit(). Props mdawaffe. fixes #6125

git-svn-id: https://develop.svn.wordpress.org/trunk@7193 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-03-10 05:28:21 +00:00
parent 68b4b44a20
commit 882fa08d42
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ function wp_get_link_cats($link_id = 0) {
}
function get_link_to_edit( $link_id ) {
return get_link( $link_id, OBJECT, 'edit' );
return get_bookmark( $link_id, OBJECT, 'edit' );
}
function wp_insert_link($linkdata) {