[wp-trac] [WordPress Trac] #27088: Allow per-query filtering of post status objects
WordPress Trac
noreply at wordpress.org
Tue Feb 11 06:36:54 UTC 2014
#27088: Allow per-query filtering of post status objects
-------------------------+------------------------------
Reporter: ericmann | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.8.1
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by nacin):
Two options that I see:
1. The posts_results filter is sufficient to fake the status of a post,
at least in all situations I can picture. the_posts is also a useful hook
here. Use cases would be very helpful here.
2. Or, something like [attachment:27088.diff], which I don't love but is
closer to what makes sense to me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27088#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list