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

WordPress Trac noreply at wordpress.org
Sat Aug 22 18:58:20 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:  good-first-bug has-patch  |     Focuses:  docs
--------------------------------------+-------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"33710"]:
 {{{
 #!CommitTicketReference repository="" revision="33710"
 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.

 Props swisspidy, tmatsuur.
 Fixes #33481 for trunk.
 }}}

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


More information about the wp-trac mailing list