Changes between Version 1 and Version 2 of Ticket #24429, comment 4
- Timestamp:
- 05/27/2013 04:33:19 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24429, comment 4
v1 v2 1 I've read #23259, #14671, and #14280. The performance lost by adding one filter here could be regained elsewhere. I know `add_filter` is calleda lot. The extra capability here seems worth it.1 I've read #23259, #14671, and #14280. The performance lost by adding a filter here could be regained elsewhere. I know `add_filter` runs a lot. The extra capability here seems worth it. 2 2 3 3 Applying the old hooks in place is not ideal and does not achieve the same effect. It is messy and mixes up the priorities. There currently is no way to perfectly alias a hook b/c one fires before the other. Applying unused hooks is a waste itself. The `return false` above can stop hooks from being added and thus **save** performance. They'd never exist in the `apply_filters` stack in the first place.