[wp-trac] [WordPress Trac] #32243: count_user_posts Should Accept Multiple Post Types

WordPress Trac noreply at wordpress.org
Mon May 4 02:51:59 UTC 2015


#32243: count_user_posts Should Accept Multiple Post Types
-------------------------------------------------+-------------------------
 Reporter:  nikonratm                            |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Users                                |  Review
 Severity:  normal                               |     Version:  trunk
 Keywords:  has-patch needs-testing needs-unit-  |  Resolution:
  tests                                          |     Focuses:  template
-------------------------------------------------+-------------------------
Changes (by nikonratm):

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


Comment:

 Ah, good point. I've updated the function to do as you suggested, as well
 as allow for string (i.e. single)
 `$post_types` arguments.

 I don't have the time to write tests right now but I would be happy to do
 that.

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


More information about the wp-trac mailing list