Strip slashes before preparing link for insert. see #6644
git-svn-id: http://svn.automattic.com/wordpress/trunk@7693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
82fd123c91
commit
d814986be2
|
@ -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