[wp-trac] [WordPress Trac] #33862: Improve docblock for add_filter

WordPress Trac noreply at wordpress.org
Fri Sep 18 14:52:40 UTC 2015


#33862: Improve docblock for add_filter
--------------------------+---------------------------
 Reporter:  bobbingwide   |       Owner:  DrewAPicture
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.4
Component:  Plugins       |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:  docs
--------------------------+---------------------------
Changes (by DrewAPicture):

 * owner:   => DrewAPicture
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34288"]:
 {{{
 #!CommitTicketReference repository="" revision="34288"
 Docs: Clarify the significance of the `$accepted_args` parameter value in
 the documentation for `add_filter()`.

 Adds a couple of examples to illustrate callbacks accepting a variable
 number of arguments.

 Fixes #33862.
 }}}

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


More information about the wp-trac mailing list