(ACTUALLY) Eliminate use of `extract()` in `WP_Comment_Query::query()`.

See #22400.

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


git-svn-id: http://core.svn.wordpress.org/trunk@28286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-05-16 20:52:14 +00:00
parent 4f57a231c5
commit 0aafc8f874
1 changed files with 0 additions and 1 deletions

View File

@ -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 ) ) ) );