[wp-trac] [WordPress Trac] #33481: Documented $public_only parameter not passed to the get_usernumposts filter

WordPress Trac noreply at wordpress.org
Sun Aug 23 17:45:54 UTC 2015


#33481: Documented $public_only parameter not passed to the get_usernumposts filter
-----------------------------------+-------------------------
 Reporter:  tmatsuur               |       Owner:  swissspidy
     Type:  defect (bug)           |      Status:  reopened
 Priority:  normal                 |   Milestone:  4.3.1
Component:  Users                  |     Version:  4.3
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch fixed-major  |     Focuses:  docs
-----------------------------------+-------------------------

Comment (by DrewAPicture):

 In [changeset:"33716"]:
 {{{
 #!CommitTicketReference repository="" revision="33716"
 Docs: Better clarify that the `$post_type` parameter for the
 `get_usernumposts` filter and `count_user_posts()` can accept either a
 single post type or array of post types.

 Props tyxla
 See #33481. Fixes #33520.
 }}}

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


More information about the wp-trac mailing list