From ff665b2f3877c5a2c75f7d5970dc69e049608fcc Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 15 May 2014 02:55:16 +0000 Subject: [PATCH] (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 --- wp-admin/includes/bookmark.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-admin/includes/bookmark.php b/wp-admin/includes/bookmark.php index 43da0e44dc..1aa8224536 100644 --- a/wp-admin/includes/bookmark.php +++ b/wp-admin/includes/bookmark.php @@ -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;