Changes between Initial Version and Version 1 of Ticket #36033, comment 1
- Timestamp:
- 10/07/2017 11:47:13 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36033, comment 1
initial v1 1 1 Previously brought up in comment:18:ticket:18268. 2 2 3 This was done (in [ 31104]) for performance reasons, as running `apply_filters()` on each `esc_url()` call would be a performance hit.3 This was done (in [18826]) for performance reasons, as running `apply_filters()` on each `esc_url()` call would be a performance hit. 4 4 5 5 We can't remove the static variable entirely, but we could probably use the approach from [31104]. If `esc_url()` was called before `plugins_loaded`, it will not prevent plugins from filtering the value on `plugins_loaded` or `init`. See [attachment:36033.patch].