pre_get_posts action from ringmaster. fixes #1736

git-svn-id: http://svn.automattic.com/wordpress/trunk@2938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-10-06 17:27:57 +00:00
parent a7fc7ec1b7
commit 5a87d54700
1 changed files with 2 additions and 0 deletions

View File

@ -237,6 +237,8 @@ class WP_Query {
function &get_posts() {
global $wpdb, $pagenow, $request, $user_ID;
do_action('pre_get_posts', array(&$this));
// Shorthand.
$q = $this->query_vars;