[wp-trac] [WordPress Trac] #21364: Pass post type to count_user_posts()

WordPress Trac noreply at wordpress.org
Sat Jun 28 11:39:48 UTC 2014


#21364: Pass post type to count_user_posts()
-------------------------------------+------------------------------
 Reporter:  Caspie                   |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Posts, Post Types        |     Version:  3.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------
Changes (by engelen):

 * keywords:  has-patch needs-testing needs-refresh => has-patch needs-
               testing


Comment:

 `get-user-post-count-post-type.21364.diff` adds an argument for the post
 type for both `count_user_posts` and `get_the_author_posts`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21364#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list