Making WordPress.org

Opened 3 years ago

Closed 3 years ago

#4239 closed task (invalid)

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

Reported by: 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 3 years ago.
Please see this file for patch

Download all attachments as: .zip

Change History (2)

3 years ago

Please see this file for patch

#1 @immeet94
3 years ago

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