[wp-trac] [WordPress Trac] #27088: Allow per-query filtering of post status objects
WordPress Trac
noreply at wordpress.org
Tue Feb 11 13:24:37 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 danielbachhuber):
I ran into this yesterday, in fact :) Here's how I did it:
[https://core.trac.wordpress.org/attachment/ticket/27088/show-scheduled-
posts.php show-scheduled-posts.php]
Adding an additional filter to WP Query is a hack, in my opinion, that
only addresses the immediate use case. The proper fix is to implement the
first part of [https://core.trac.wordpress.org/ticket/12706#comment:183
Nacin's suggestions] in #12706. In doing so, we'd define the attributes of
a post status, and the behaviors each attribute should exhibit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27088#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list