WordPress.org

Making WordPress.org

Opened 7 months ago

Closed 7 months 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
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)

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

Download all attachments as: .zip

Change History (2)

@immeet94
7 months ago

Please see this file for patch

#1 @immeet94
7 months ago

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