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

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


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

 * milestone:  Awaiting Review => 4.4


Comment:

 I agree that read in the wrong context, the second sentence is misleading.
 Realistically, supplying the incorrect value for `$accepted_args` already
 throws an error describing the problem (the number of arguments being
 wrong).

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


More information about the wp-trac mailing list