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

WordPress Trac noreply at wordpress.org
Thu Nov 13 01:31:32 UTC 2014


#21364: Pass post type to count_user_posts()
--------------------------------------+---------------------------
 Reporter:  Caspie                    |       Owner:  boonebgorges
     Type:  enhancement               |      Status:  accepted
 Priority:  normal                    |   Milestone:  4.1
Component:  Posts, Post Types         |     Version:  3.0
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------------

Comment (by boonebgorges):

 Replying to [comment:10 pbearne]:
 > Hi Guys
 >
 > Should allow an array of post type to get passed in?
 >
 > Paul

 This is not a bad idea, but it's going to need modifications to the
 current patch that are non-trivial. I'd suggest that we go with what we've
 currently got for 4.1, and you should feel free to open another ticket if
 you'd like support for multiple post types.

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


More information about the wp-trac mailing list