[wp-trac] [WordPress Trac] #59455: Replace trigger_error() with wp_trigger_error() for 6.4

WordPress Trac noreply at wordpress.org
Tue Sep 26 12:50:19 UTC 2023


#59455: Replace trigger_error() with wp_trigger_error() for 6.4
----------------------------+--------------------
 Reporter:  hellofromTonya  |      Owner:  (none)
     Type:  task (blessed)  |     Status:  new
 Priority:  normal          |  Milestone:  6.4
Component:  General         |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+--------------------
 This ticket tracks an initiative to replace each instance of
 `trigger_error()` with `wp_trigger_error()`. The initiative seeks to avoid
 generating E_USER family errors unless `WP_DEBUG` is on. In doing so,
 users should not see these messages in normal production.

 References:
 * #57686 introduced `wp_trigger_error()` via [56530], [56707]

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


More information about the wp-trac mailing list