Changes between Initial Version and Version 1 of Ticket #56198, comment 5
- Timestamp:
- 07/11/2022 10:03:49 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56198, comment 5
initial v1 12 12 === 13 13 14 Regarding debug_backtrace: 15 adding a limit of 2 and removing args will take care of the performance issues: 16 `debug_backtrace( DEBUG_BACKTRACE_IGNORE_ARGS, 2 )[1]['function'];` 17 This is sufficiently fast (e-6 seconds). 18 19 The only other option would be to pass `__FUNCTION__` as a 2nd param to `_valid_key`, which I think is dumb. 20 21 === 22 14 23 `if ( is_string( $key ) && trim( $key ) !== '' ) {` 15 24