[wp-trac] [WordPress Trac] #14671: Deprecate the "accepted args" argument in add_filter() and add_action()
WordPress Trac
noreply at wordpress.org
Wed May 29 11:53:17 UTC 2013
#14671: Deprecate the "accepted args" argument in add_filter() and add_action()
-------------------------+-----------------------------
Reporter: markjaquith | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------------
Comment (by Rarst):
Replying to [comment:31 TJNowell]:
> Agreed, it'd be nice to see more data though so that these things don't
appear to be based on opinion when read by others
Quick rough count from xhprof profile for my current local stack:
- `add_action()` 243 calls
- `add_filter()` 500 calls
- `do_action()` 198 calls
- `apply_filters()` 2201 calls
It has some dirty performance hacks and minimum active plugins, so would
probably be even more in average site.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14671#comment:35>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list