[wp-trac] [WordPress Trac] #57686: Introduce wp_trigger_error() to compliment _doing_it_wrong()
WordPress Trac
noreply at wordpress.org
Thu Sep 7 20:47:08 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-dev-note has-patch has-unit- | Focuses:
tests commit |
-------------------------------------------------+-------------------------
Comment (by hellofromTonya):
In [changeset:"56544" 56544]:
{{{
#!CommitTicketReference repository="" revision="56544"
Code Modernization: Use wp_trigger_error() in WP_Text_Diff_Renderer_Table
magic methods.
Replaces `trigger_error()` with `wp_trigger_error()` in each of the
`WP_Text_Diff_Renderer_Table` magic methods.
[56354] added the dynamic properties deprecation messages to the
`__get()`, `__set()`, `__isset()`, `__unset()` magic methods. Since that
commit, `wp_trigger_error()` was introduced (see [56530]) as a wrapper for
`trigger_error()`.
Follow-up to [56354], [56530].
See #58898, #57686.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57686#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list