Changes between Initial Version and Version 1 of Ticket #58420, comment 5
- Timestamp:
- 05/29/2023 01:13:44 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58420, comment 5
initial v1 13 13 Looking at [attachment:"58420-2.patch"], unless I'm missing something, the usage of `die()` is intentional in pretty much all of these instances, as the output is already handled in a different way and we only need to terminate the script. 14 14 15 Usi g `wp_die()` there would cause unexpected output, additional overhead, or lead to "headers already sent" warnings when called after `wp_redirect()`. It also does not display any helpful error messages by itself, as the message is empty by default.15 Using `wp_die()` there would cause unexpected output, additional overhead, or lead to "headers already sent" warnings when called after `wp_redirect()`. It also does not display any helpful error messages by itself, as the message is empty by default.