Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 6 years ago

#1736 closed defect (bug) (fixed)

Need hook to modify query_vars before posts query

Reported by: ringmaster's profile ringmaster Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.6
Component: General Keywords: bg|haspatch
Focuses: Cc:

Description

I was looking for a plugin hook that would allow me to inject the
query_vars with a value or two before the default posts array is
generated, but after the is_* functions.

From wp-hackers thread:
http://comox.textdrive.com/pipermail/wp-hackers/2005-October/002795.html

Attachments (1)

classes.php.diff (345 bytes) - added by ringmaster 18 years ago.
New hook added to classes.php, 'pre_get_posts'.

Download all attachments as: .zip

Change History (4)

@ringmaster
18 years ago

New hook added to classes.php, 'pre_get_posts'.

#1 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [2938]) pre_get_posts action from ringmaster. fixes #1736

This ticket was mentioned in Slack in #community-events by andreamiddleton. View the logs.


8 years ago

This ticket was mentioned in Slack in #cli by swissspidy. View the logs.


6 years ago

Note: See TracTickets for help on using tickets.