[wp-trac] [WordPress Trac] #30250: Add filter for query used in `wp_count_posts()`
WordPress Trac
noreply at wordpress.org
Thu Nov 27 14:47:28 UTC 2014
#30250: Add filter for query used in `wp_count_posts()`
----------------------------------------+-----------------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+-----------------------------
Comment (by minderdl):
I'm not sure about this approach. The line with the counts is above the
filters. Therefore, it's not on the same level.
What you are proposing is to add All/Draft/Pending/Published as another
filter category. For me, it would make more sense to move the line with
the counters below the filters then. And you need an additional "Reset
filters" button then.
This is what the current All/Draft/Pending/Published links are acutally
doing: resetting the filters!
So, I would be reluctant to include your proposal. But I'm far from being
a core developer :-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30250#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list