[wp-meta] [Making WordPress.org] #4239: Use wp_die() instead of die() function in wordpress

Making WordPress.org noreply at wordpress.org
Tue Mar 5 11:47:09 UTC 2019


#4239: Use wp_die() instead of die() function in wordpress
----------------------+-----------------------
 Reporter:  immeet94  |      Owner:  (none)
     Type:  task      |     Status:  new
 Priority:  high      |  Milestone:
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.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4239>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list