Opened 7 years ago
Closed 7 years ago
#4239 closed task (blessed) (invalid)
Use wp_die() instead of die() function in wordpress
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | high | |
| Component: | General | Keywords: | has-patch |
| Cc: |
Description
When use the wp_json_encode() function that time you should use wp_die function instead of die() function.
Because wp_die() function do Kill WordPress execution and display HTML message with error message.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Please see this file for patch