Changes between Version 1 and Version 2 of Ticket #57686, comment 17
- Timestamp:
- 09/06/2023 02:53:57 PM (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57686, comment 17
v1 v2 1 1 > The file and line number will reference where trigger_error() is invoked within wp_trigger_error(), which makes debugging more difficult. 2 2 3 Of course it does 🙃My bad on that!3 Of course it does My bad on that! 4 4 5 5 What do you think about moving `$function_name` to be a third, optional parameter so it's not necessary to include an empty string as the first parameter if it's not needed? This would be closer to PHP's native `trigger_error()` also. … … 9 9 and 10 10 Trigger an error with this `$message` and `$error_level` from `$function_name`. 11 12 It's not a big deal either way, just throwing it out there for discussion 🙂