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

WordPress Trac noreply at wordpress.org
Tue Oct 17 12:28:49 UTC 2023


#59652: Replace trigger_error() with wp_trigger_error() for 6.5
----------------------------+--------------------
 Reporter:  hellofromTonya  |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  6.5
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.

 Previous releases:
 * #59455 (6.4)

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

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


More information about the wp-trac mailing list