Opened 5 years ago

Closed 5 years ago

#4239 closed task (blessed) (invalid)

Use wp_die() instead of die() function in wordpress

Reported by: immeet94's profile immeet94 Owned by:
Milestone: Priority: high
Component: General Keywords: has-patch


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)

#4239.diff (461 bytes) - added by immeet94 5 years ago.
Please see this file for patch

Download all attachments as: .zip

Change History (2)

5 years ago

Please see this file for patch

#1 @immeet94
5 years ago

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.