Make WordPress Core

Opened 5 months ago

Last modified 5 days ago

#59652 new task (blessed)

Replace trigger_error() with wp_trigger_error() for 6.6

Reported by: hellofromtonya's profile hellofromTonya Owned by:
Milestone: 6.6 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

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:

References:

Change History (3)

#1 @swissspidy
3 weeks ago

  • Type changed from enhancement to task (blessed)

This ticket was mentioned in Slack in #core by rajinsharwar. View the logs.


9 days ago

#3 @swissspidy
5 days ago

  • Milestone changed from 6.5 to 6.6
  • Summary changed from Replace trigger_error() with wp_trigger_error() for 6.5 to Replace trigger_error() with wp_trigger_error() for 6.6
Note: See TracTickets for help on using tickets.