(REALLY) Eliminate use of extract() in wp_insert_link().

See #22400.

Built from https://develop.svn.wordpress.org/trunk@28408


git-svn-id: http://core.svn.wordpress.org/trunk@28235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-05-15 02:55:16 +00:00
parent 54321f4c6e
commit ff665b2f38

View File

@ -149,8 +149,6 @@ function wp_insert_link( $linkdata, $wp_error = false ) {
$args = wp_parse_args( $linkdata, $defaults );
$r = sanitize_bookmark( $args, 'db' );
extract( wp_unslash( $linkdata ), EXTR_SKIP );
$update = false;
if ( ! empty( $r['link_id'] ) ) {
$update = true;