[wp-trac] [WordPress Trac] #57686: Introduce wp_trigger_error() to compliment _doing_it_wrong()
WordPress Trac
noreply at wordpress.org
Thu Sep 7 20:39:23 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:"56542" 56542]:
{{{
#!CommitTicketReference repository="" revision="56542"
Code Modernization: Use wp_trigger_error() in WP_List_Table magic methods.
Replaces `trigger_error()` with `wp_trigger_error()` in each of the
`WP_List_Table` magic methods.
[56349] 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 [56349], [56356], [56530].
See #58896, #57686.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57686#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list