From bb1e6055fe18618f9274e2d23d4b1e72b7243797 Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 13 Sep 2006 09:27:15 +0000 Subject: WP Merge to rev 4186 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@744 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/query.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wp-includes/query.php') diff --git a/wp-includes/query.php b/wp-includes/query.php index 925eff5..689b27f 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -350,7 +350,7 @@ class WP_Query { if ('404' == $qv['error']) { $this->is_404 = true; if ( !empty($query) ) { - do_action('parse_query', array(&$this)); + do_action_ref_array('parse_query', array(&$this)); } return; } @@ -498,7 +498,7 @@ class WP_Query { } if ( !empty($query) ) { - do_action('parse_query', array(&$this)); + do_action_ref_array('parse_query', array(&$this)); } } @@ -526,7 +526,7 @@ class WP_Query { function &get_posts() { global $wpdb, $pagenow, $user_ID; - do_action('pre_get_posts', array(&$this)); + do_action_ref_array('pre_get_posts', array(&$this)); // Shorthand. $q = &$this->query_vars; -- cgit