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

WordPress Trac noreply at wordpress.org
Tue Sep 8 20:57:33 UTC 2015


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

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33953"]:
 {{{
 #!CommitTicketReference repository="" revision="33953"
 Pass the `$public_only` value to 'get_usernumposts' filter.

 [32523] introduced the $public_only parameter to `count_user_posts()`.
 That
 changeset was supposed to pass `$public_only` to the 'get_usernumposts'
 filter
 at the end of the function, but only the documentation was modified, not
 the
 filter itself.

 This changeset also fixes an incorrect variable name in the docblock for
 the same filter, and includes clarification on the accepted values for
 the `$post_type` parameter.

 Merges [33710] and [33716] to the 4.3 branch.

 Props swisspidy, tmatsuur, tyxla, DrewAPicture.
 Fixes #33481 for 4.3.1.
 }}}

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


More information about the wp-trac mailing list