Changes between Initial Version and Version 1 of Ticket #17019, comment 14
- Timestamp:
- 04/07/2011 06:53:14 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17019, comment 14
initial v1 8 8 The change was to make apply_filters_ref_array(), before calling each hooked filter as it currently does, to check whether that filter was added with a context arg... and if so, to '''not''' call it if the current context doesn't match. 9 9 10 The changes to WP_Query and plugin.php were to apply fewer filters, not more . So is the performance concern for the isset / empty statements? The is_array() check in add_filter? Or the optional arg to apply_filters_ref_array?10 The changes to WP_Query and plugin.php were to apply fewer filters, not more - to '''let me''' fire my query-related filters only where I want them. So is the performance concern for the isset / empty statements? The is_array() check in add_filter? Or the optional arg to apply_filters_ref_array?