Ticket #50961: 50961.diff
File 50961.diff, 1.9 KB (added by , 4 years ago) |
---|
-
src/wp-includes/class-wp-term-query.php
321 321 * 322 322 * @since 4.6.0 323 323 * 324 * @param WP_Term_Query $this Current instance of WP_Term_Query .324 * @param WP_Term_Query $this Current instance of WP_Term_Query (passed by reference). 325 325 */ 326 do_action ( 'pre_get_terms', $this);326 do_action_ref_array( 'pre_get_terms', array( &$this ) ); 327 327 328 328 $taxonomies = (array) $args['taxonomy']; 329 329 -
src/wp-includes/class-wp-user-query.php
219 219 /** 220 220 * Fires before the WP_User_Query has been parsed. 221 221 * 222 * The passed WP_User_Query object contains the query variables, not223 * yet passed into SQL.222 * The passed WP_User_Query object contains the query variables, 223 * not yet passed into SQL. 224 224 * 225 225 * @since 4.0.0 226 226 * 227 * @param WP_User_Query $this The current WP_User_Query instance, 228 * passed by reference. 227 * @param WP_User_Query $this Current instance of WP_User_Query (passed by reference). 229 228 */ 230 do_action ( 'pre_get_users', $this);229 do_action_ref_array( 'pre_get_users', array( &$this ) ); 231 230 232 231 // Ensure that query vars are filled after 'pre_get_users'. 233 232 $qv =& $this->query_vars; … … 576 575 * 577 576 * @since 3.1.0 578 577 * 579 * @param WP_User_Query $this The current WP_User_Query instance, 580 * passed by reference. 578 * @param WP_User_Query $this Current instance of WP_User_Query (passed by reference). 581 579 */ 582 580 do_action_ref_array( 'pre_user_query', array( &$this ) ); 583 581 }