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

WordPress Trac noreply at wordpress.org
Tue Jul 1 06:37:38 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 has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by DrewAPicture):

 * keywords:  needs-unit-tests has-patch => has-patch has-unit-tests


Comment:

 [attachment:21364.diff] adds a unit test. I also removed the changes to
 `get_the_author_posts()` as that falls out of the scope of this ticket.

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


More information about the wp-trac mailing list