mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 16:21:26 +01:00
(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:
parent
4f57a231c5
commit
0aafc8f874
@ -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 ) ) ) );
|
||||
|
Loading…
Reference in New Issue
Block a user