Changes between Initial Version and Version 1 of Ticket #17019, comment 23
- Timestamp:
- 04/08/2011 04:55:17 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17019, comment 23
initial v1 2 2 > To put it another way: you're moving the context check from the callback to the caller - apply_filters(). 3 3 > 4 Yes, and doing so also reduces the risk of query destruction by filters which incorrectly return null. If the offending filter was added for a specific context, it will only wreck one query and not all of them. 4 Yes, but the caller is apply_filters_ref_array(). 5 6 And moving the context check to that caller also reduces the risk of query destruction by filters which incorrectly return null. If the offending filter was added for a specific context, it will only wreck one query and not all of them.