[wp-trac] [WordPress Trac] #58425: Use wp_die in place of only die

WordPress Trac noreply at wordpress.org
Mon May 29 18:55:40 UTC 2023


#58425: Use wp_die in place of only die
-------------------------+-------------------------------
 Reporter:  shakhari     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Widgets      |    Version:  6.2.2
 Severity:  normal       |   Keywords:  changes-requested
  Focuses:               |
-------------------------+-------------------------------
 I am reading class-wp-widget.php and suddenly I have found a regular php
 die function where as WordPress have it's own wp_die functions and
 WordPress code sniffers always recommended to use wp_die.

 Function name: public function widget

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58425>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list