Make WordPress Core

Changeset 2938


Ignore:
Timestamp:
10/06/2005 05:27:57 PM (19 years ago)
Author:
ryan
Message:

pre_get_posts action from ringmaster. fixes #1736

File:
1 edited

Legend:

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

    r2908 r2938  
    237237    function &get_posts() {
    238238        global $wpdb, $pagenow, $request, $user_ID;
     239
     240        do_action('pre_get_posts', array(&$this));
    239241
    240242        // Shorthand.
Note: See TracChangeset for help on using the changeset viewer.