Ticket #53824: 53824.diff
| File 53824.diff, 546 bytes (added by , 4 years ago) |
|---|
-
src/wp-includes/class-wp-query.php
diff --git a/src/wp-includes/class-wp-query.php b/src/wp-includes/class-wp-query.php index 09c6a22b0d..e6c879de44 100644
a b class WP_Query { 1781 1781 * 1782 1782 * @param WP_Query $query The WP_Query instance (passed by reference). 1783 1783 */ 1784 do_action_ref_array( 'pre_get_posts', array( &$this ) ); 1784 if ( ! did_action( 'pre_get_posts' ) ) { 1785 do_action_ref_array( 'pre_get_posts', array( &$this ) ); 1786 } 1785 1787 1786 1788 // Shorthand. 1787 1789 $q = &$this->query_vars;