[wp-trac] [WordPress Trac] #57686: Introduce wp_trigger_error() to compliment _doing_it_wrong()

WordPress Trac noreply at wordpress.org
Tue Feb 14 15:39:20 UTC 2023


#57686: Introduce wp_trigger_error() to compliment _doing_it_wrong()
-------------------------+---------------------
 Reporter:  azaozz       |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  6.3
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+---------------------

Comment (by costdev):

 > @azaozz should be enhanced a little to handle the combinations of all
 PHP debugging constants: `WP_DEBUG`, `WP_DEBUG_DISPLAY`, and
 `WP_DEBUG_LOG`.

 Interesting! What are your thoughts on how this would behave for the
 different combinations?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57686#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list