[wp-trac] [WordPress Trac] #15200: Showing number of user posts for custom post types on users.php
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 24 03:10:46 UTC 2010
#15200: Showing number of user posts for custom post types on users.php
-------------------------+--------------------------------------------------
Reporter: jaredwilli | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 3.0.1
Severity: trivial | Keywords: custom post types
-------------------------+--------------------------------------------------
Comment(by nacin):
Didn't have a chance to respond to you on Twitter yet, but I don't see
this as something we should account for on users.php. We very specifically
are showing a count of posts.
Some post types might store information that isn't conducive to a count.
For example, logging the actions of a user might have post_author set, but
that doesn't mean it should count as a post. Same with maybe tweets by
that user. It's ultimately just dependent on the desires of the
administrator, which is why it should be left up to plugins to override
this column if they so wish to do so. As I did say on Twitter, I'm not
even sure where we'd be able to link a count if it includes more than one
post type, as well. We don't even include pages -- if we had, then maybe
an argument for other post types would make sense.
Re: naming of post types, we have get_post_types() and such... Re:
set_current_screen(), that's unrelated and has to do with edit.php, edit-
pages.php, post-new.php, etc.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15200#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list