[wp-trac] [WordPress Trac] #26991: Allowing custom post types in count_user_posts

WordPress Trac noreply at wordpress.org
Sun Feb 2 12:00:29 UTC 2014


#26991: Allowing custom post types in count_user_posts
--------------------------+-----------------------------
 Reporter:  danielpataki  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 While making a plugin I needed to count the custom post types created by a
 user. As I was looking at the count_user_posts() function it occurred to
 me that it doesn't allow for custom post types. I've attached a quick fix
 for this. This is my second time submitting and I haven't received a reply
 for the first one  yet so if I'm using an incorrect format do let me know!

 Thanks,

 Daniel

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26991>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list