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

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 23 16:13:14 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:     
-------------------------+--------------------------------------------------

Comment(by jacobsantos):

 Replying to [comment:11 markjaquith]:
 > {{{14671.002.diff}}} checks internal PHP functions and keeps the default
 at 1 for those, but sets it to 100 for all others. Using a smaller subset
 of PHP functions would be faster, but might require some maintenance in
 the future, if we want to keep the ability to set internal PHP functions
 as callbacks.

 +1

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


More information about the wp-trac mailing list