hellofromTonya
b5ec907fb0
Code Modernization: Use wp_trigger_error() instead of trigger_error().
...
Replaces `trigger_error()` with `wp_trigger_error()`.
The usage of `wp_trigger_error()` avoids generating `E_USER` family errors unless `WP_DEBUG` is on. In doing so, users should not see these messages in normal production.
Notes:
* Removes `E_USER_NOTICE` when passed as an argumnent, as it's the default error level.
* An empty string is passed for the function name when its name is already in the error message or does not add value to the error message.
* Externally maintained libraries are not included.
Follow-up to [55204], [25956], [29630], [38883], [52062], [52049], [54272], [38883], [55245], [51599], [14452], [38883], [24976].
Props prasadkarmalkar, rajinsharwar, thelovekesh, hellofromTonya, swissspidy.
Fixes #59652 .
Built from https://develop.svn.wordpress.org/trunk@58409
git-svn-id: http://core.svn.wordpress.org/trunk@57858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-13 20:50:14 +00:00
..
2023-09-25 17:06:34 +00:00
2023-07-11 05:03:23 +00:00
2024-06-02 22:10:11 +00:00
2023-05-03 10:03:21 +00:00
2023-06-22 14:36:26 +00:00
2024-05-02 17:20:10 +00:00
2024-05-02 17:20:10 +00:00
2024-05-02 17:20:10 +00:00
2024-06-04 06:30:16 +00:00
2023-12-07 15:14:27 +00:00
2024-03-02 20:15:13 +00:00
2024-03-07 05:58:15 +00:00
2019-11-01 14:57:02 +00:00
2022-03-22 16:25:03 +00:00
2024-02-12 12:07:10 +00:00
2024-05-02 17:20:10 +00:00
2024-04-30 08:39:07 +00:00
2024-03-31 05:52:15 +00:00
2024-05-02 17:20:10 +00:00
2023-06-14 06:34:27 +00:00
2024-02-20 07:27:06 +00:00
2024-05-02 17:20:10 +00:00
2024-02-26 20:35:08 +00:00
2024-01-08 23:19:16 +00:00
2023-08-24 09:01:16 +00:00
2023-09-08 09:32:23 +00:00
2023-09-14 12:46:20 +00:00
2023-06-22 14:36:26 +00:00
2024-02-16 21:47:12 +00:00
2024-06-03 21:39:08 +00:00
2024-05-10 18:09:15 +00:00
2023-09-12 15:23:18 +00:00
2024-06-13 15:06:07 +00:00
2024-02-16 21:47:12 +00:00
2024-02-16 21:47:12 +00:00
2024-02-16 21:47:12 +00:00
2024-02-16 21:47:12 +00:00
2024-02-16 21:47:12 +00:00
2023-08-14 09:59:20 +00:00
2023-06-14 12:57:20 +00:00
2024-05-01 18:01:12 +00:00
2020-11-14 16:54:08 +00:00
2024-06-11 12:38:14 +00:00
2023-09-22 19:58:16 +00:00
2024-02-26 20:35:08 +00:00
2024-05-01 18:01:12 +00:00
2023-11-15 09:33:26 +00:00
2024-05-01 18:01:12 +00:00
2024-05-14 16:49:09 +00:00
2022-10-04 03:47:15 +00:00
2023-09-22 19:58:16 +00:00
2022-03-10 19:22:01 +00:00
2023-09-08 09:32:23 +00:00
2024-02-29 12:17:08 +00:00
2023-09-22 19:58:16 +00:00
2024-01-11 17:44:12 +00:00
2023-09-26 00:27:12 +00:00
2024-06-13 15:06:07 +00:00
2024-03-02 20:15:13 +00:00
2023-09-22 19:58:16 +00:00
2024-05-01 18:01:12 +00:00
2024-02-26 20:35:08 +00:00
2024-05-02 17:20:10 +00:00
2019-10-08 17:19:04 +00:00
2024-06-04 06:30:16 +00:00
2024-01-10 11:57:15 +00:00
2022-07-20 22:15:10 +00:00
2022-09-19 23:24:11 +00:00
2023-06-22 14:36:26 +00:00
2024-02-08 20:36:14 +00:00
2024-01-10 11:57:15 +00:00
2021-12-07 12:20:02 +00:00
2024-04-15 20:03:09 +00:00
2024-06-13 20:50:14 +00:00
2024-05-27 18:03:13 +00:00
2024-03-02 20:15:13 +00:00
2022-07-29 09:22:10 +00:00
2022-10-04 03:47:15 +00:00
2024-06-09 22:53:14 +00:00
2023-11-06 09:27:23 +00:00
2024-06-02 21:07:13 +00:00
2024-05-02 13:19:14 +00:00
2022-09-20 02:51:09 +00:00
2022-09-20 02:51:09 +00:00
2024-05-11 14:47:06 +00:00
2024-02-17 15:24:08 +00:00
2024-05-09 23:09:13 +00:00
2023-09-21 01:27:26 +00:00
2024-02-26 20:18:09 +00:00
2024-06-13 20:50:14 +00:00
2024-04-30 16:45:14 +00:00
2024-06-13 14:46:08 +00:00
2023-06-22 14:36:26 +00:00
2024-02-16 21:47:12 +00:00
2024-06-13 10:00:11 +00:00
2021-05-09 20:27:02 +00:00
2023-03-10 07:04:20 +00:00
2023-12-11 12:11:22 +00:00
2024-02-26 20:35:08 +00:00
2024-06-13 20:50:14 +00:00
2024-06-13 20:50:14 +00:00
2024-04-01 16:38:18 +00:00
2024-06-13 20:50:14 +00:00
2024-03-07 06:11:11 +00:00
2023-11-17 13:29:26 +00:00
2023-09-09 09:28:26 +00:00