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

WordPress Trac noreply at wordpress.org
Wed Aug 30 19:50:05 UTC 2023


#57686: Introduce wp_trigger_error() to compliment _doing_it_wrong()
-------------------------------------------------+-------------------------
 Reporter:  azaozz                               |       Owner:
                                                 |  hellofromTonya
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.4
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch needs-unit-tests needs-  |     Focuses:
  dev-note                                       |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * keywords:  needs-patch reporter-feedback => needs-patch needs-unit-tests
     needs-dev-note
 * milestone:  Future Release => 6.4


Comment:

 An immediate use case happened during this alpha cycle.
 [https://github.com/WordPress/wordpress-
 develop/pull/5051#discussion_r1304603467 After discussions] with @flixos90
 and @azaozz, I'm pulling this ticket back into 6.4.

 The implementation for now can address the immediate needs and what has
 been proposed. Then when it's time to [comment:6 implement input
 validation], the function can be modified accordingly.  There's low risk
 as the intended behavior of triggering `trigger_error()` will remain.

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


More information about the wp-trac mailing list