[wp-trac] [WordPress Trac] #14671: Deprecate the "accepted args" argument in add_filter() and add_action()

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 22 21:17:09 UTC 2010


#14671: Deprecate the "accepted args" argument in add_filter() and add_action()
-------------------------+--------------------------------------------------
 Reporter:  markjaquith  |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.1
Component:  Plugins      |     Version:     
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------
Changes (by westi):

 * cc: westi (added)
  * component:  General => Plugins


Comment:

 This is definitely one of the common first plugin gotchas.

 Sounds like a great fix.

 If there is an issue with php built-ins we could make the default
 behaviour be to pass an infinite number of args and preserve the current
 behaviour if a number was specified.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14671#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list