Changes between Version 3 and Version 4 of Ticket #57487, comment 71
- Timestamp:
- 07/19/2023 08:35:18 PM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57487, comment 71
v3 v4 15 15 Think we discussed this already, can't find exactly where, sorry, maybe some PR. The idea is to expand what WP_DEBUG does based on whether dev. mode is enabled. Like perhaps throwing fatal errors with stack trace for cases that now throw only warnings, etc. Also keep in mind WP_DEBUG is auto-set whenever dev. mode is enabled. They should compliment one another not be mutually exclusive. 16 16 17 Anyway, unfortunately the new helper function `wp_in_development_mode()` is now incapable to fulfill that requirement so all places that need to check whether a development more is enabled or not will have to use `(bool) wp_get_development_mode()` :(17 Anyway, unfortunately the new helper function `wp_in_development_mode()` is now incapable to fulfill that requirement so all places that need to check whether a development more is enabled or not will have to use `(bool) wp_get_development_mode()`. Inconsistent :(