Strip slashes before preparing link for insert. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7693 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
73cdb808d1
commit
cbcc62a5b2
@ -73,7 +73,7 @@ function wp_insert_link($linkdata) {
|
||||
$linkdata = wp_parse_args($linkdata, $defaults);
|
||||
$linkdata = sanitize_bookmark($linkdata, 'db');
|
||||
|
||||
extract($linkdata, EXTR_SKIP);
|
||||
extract(stripslashes_deep($linkdata), EXTR_SKIP);
|
||||
|
||||
$update = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user