mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-25 21:54:28 +00:00
(REALLY) Eliminate use of extract() in wp_insert_link().
See #22400. git-svn-id: https://develop.svn.wordpress.org/trunk@28408 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user