[wp-trac] [WordPress Trac] #59455: Replace trigger_error() with wp_trigger_error() for 6.4
WordPress Trac
noreply at wordpress.org
Tue Sep 26 12:55:35 UTC 2023
#59455: Replace trigger_error() with wp_trigger_error() for 6.4
----------------------------+---------------------
Reporter: hellofromTonya | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.4
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+---------------------
Comment (by hellofromTonya):
In [changeset:"56544" 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/59455#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list