[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:01:24 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
-------------------------+--------------------------------------------------
 On a site I have where anyone can join and submit as a contributor new
 posts to custom post types, there are hundreds of users, and hundreds of
 submitted posts from them, but when viewing the users.php page in the
 dashboard it shows them all having 0 posts since that column only displays
 the number of 'post' posts they have.

 With the rise of custom post types, it might be worth thinking about a way
 to change this, so that custom post types are also displayed, showing the
 number of posts a user has for them, and linking that number to the custom
 post type post manage page like the 'post' one does now.

 I can't even find a way to hook into the table that displays the user info
 where the posts number/link is outputted, so that I can add a filter for
 displaying my own custom post type columns and post counts for each
 person.

 This may not be a core issue as it isn't possible to know what the names
 people will have for CPTs. I saw in template.php in the
 set_current_screen() function that 'post' 'page' and the actions were
 hardcoded. May be a plugins job for this idk. Sorry if this ticket exists
 already too.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15200>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list