From cb3341c03d14353b5ab0d3acdbb3afe205210536 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 16 May 2014 20:51:23 +0000 Subject: [PATCH] (ACTUALLY) Eliminate use of `extract()` in `WP_Comment_Query::query()`. See #22400. git-svn-id: https://develop.svn.wordpress.org/trunk@28459 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/comment.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/comment.php b/src/wp-includes/comment.php index 343868b192..76b1789985 100644 --- a/src/wp-includes/comment.php +++ b/src/wp-includes/comment.php @@ -274,7 +274,6 @@ class WP_Comment_Query { * @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference. */ do_action_ref_array( 'pre_get_comments', array( &$this ) ); - extract( $this->query_vars, EXTR_SKIP ); // $args can be whatever, only use the args defined in defaults to compute the key $key = md5( serialize( compact( array_keys( $defaults ) ) ) );