Make WordPress Core


Ignore:
Timestamp:
09/12/2006 05:45:23 PM (18 years ago)
Author:
ryan
Message:

do_action_ref_array(). fixes #3125

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r4144 r4186  
    351351            $this->is_404 = true;
    352352            if ( !empty($query) ) {
    353                 do_action('parse_query', array(&$this));
     353                do_action_ref_array('parse_query', array(&$this));
    354354            }
    355355            return;
     
    499499
    500500        if ( !empty($query) ) {
    501             do_action('parse_query', array(&$this));
     501            do_action_ref_array('parse_query', array(&$this));
    502502        }
    503503    }
     
    527527        global $wpdb, $pagenow, $user_ID;
    528528
    529         do_action('pre_get_posts', array(&$this));
     529        do_action_ref_array('pre_get_posts', array(&$this));
    530530
    531531        // Shorthand.
Note: See TracChangeset for help on using the changeset viewer.