Sergey Biryukov
e2a5b8684e
Coding Standards: Standardize on user_id when passing data to comment functions.
...
The `wp_new_comment()`, `wp_update_comment()`, and `wp_filter_comment()` functions already normalize the `user_ID` parameter internally to `user_id`, which matches the database field name.
This commit aims to bring some consistency when passing the parameter in core.
The corresponding `$user_ID` variable is also renamed to `$user_id` to match the other variables when not referring to the `$user_ID` global, which has an exception in the WordPress coding standards.
Follow-up to [8543], [8720], [12267], [12300], [26491], [28915], [28922], [34799], [49303].
See #55647 , #56244 .
Built from https://develop.svn.wordpress.org/trunk@53729
git-svn-id: http://core.svn.wordpress.org/trunk@53288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-20 14:14:09 +00:00
..
2022-04-28 16:39:11 +00:00
2022-07-20 14:14:09 +00:00
2022-04-04 18:26:06 +00:00
2021-09-09 13:48:56 +00:00
2021-09-09 13:59:56 +00:00
2022-04-11 11:50:01 +00:00
2022-07-04 10:14:14 +00:00
2022-07-04 10:11:12 +00:00
2022-04-14 15:15:12 +00:00
2022-03-22 16:25:03 +00:00
2022-03-26 15:28:08 +00:00
2021-09-09 13:59:56 +00:00
2022-04-11 11:42:04 +00:00
2022-05-20 17:38:14 +00:00
2022-05-20 17:38:14 +00:00
2022-05-20 17:38:14 +00:00
2022-05-20 17:38:14 +00:00
2022-07-05 08:06:17 +00:00
2021-09-09 13:48:56 +00:00
2022-05-20 17:38:14 +00:00
2022-07-04 08:20:15 +00:00
2022-01-20 09:19:07 +00:00
2022-05-20 17:38:14 +00:00
2022-03-29 13:21:08 +00:00
2021-12-07 12:20:02 +00:00
2022-07-17 02:18:09 +00:00
2021-12-07 12:20:02 +00:00
2022-02-27 15:02:04 +00:00
2022-03-30 10:45:06 +00:00
2021-11-30 17:18:01 +00:00
2022-06-14 15:07:10 +00:00
2022-05-19 15:54:15 +00:00
2021-12-07 12:20:02 +00:00
2021-09-10 14:49:00 +00:00
2022-06-14 14:43:12 +00:00
2022-05-02 13:07:14 +00:00
2022-03-22 19:59:04 +00:00
2022-05-19 15:54:15 +00:00
2022-03-10 19:22:01 +00:00
2022-04-11 11:42:04 +00:00
2021-11-24 11:41:03 +00:00
2022-06-16 23:10:10 +00:00
2022-03-22 16:25:03 +00:00
2022-05-05 16:29:08 +00:00
2022-04-11 14:21:09 +00:00
2022-04-13 16:14:10 +00:00
2022-03-17 22:21:07 +00:00
2022-03-18 12:44:04 +00:00
2021-09-09 13:59:56 +00:00
2022-06-26 12:37:18 +00:00
2022-06-14 14:43:12 +00:00
2021-10-19 23:09:00 +00:00
2022-05-10 16:45:08 +00:00
2022-04-20 08:13:10 +00:00
2021-12-07 12:20:02 +00:00
2022-06-01 18:14:10 +00:00
2022-07-17 02:18:09 +00:00
2022-06-21 11:16:17 +00:00
2022-06-21 11:18:17 +00:00
2022-04-14 15:15:12 +00:00
2022-04-15 10:52:11 +00:00
2022-06-24 13:52:13 +00:00
2022-04-17 14:44:07 +00:00
2022-04-17 17:57:09 +00:00
2022-07-11 18:18:13 +00:00
2022-04-18 10:33:09 +00:00
2022-04-19 15:59:10 +00:00
2021-11-02 17:37:57 +00:00
2021-11-30 17:18:01 +00:00
2022-03-15 15:58:02 +00:00
2022-06-22 14:55:11 +00:00
2022-07-18 17:37:17 +00:00
2022-06-01 18:14:10 +00:00
2021-12-07 12:20:02 +00:00
2022-04-06 04:35:00 +00:00
2022-06-16 23:39:08 +00:00
2022-05-07 17:16:13 +00:00
2022-07-04 08:00:15 +00:00
2022-06-01 18:14:10 +00:00
2022-01-27 21:15:03 +00:00
2022-05-23 17:02:16 +00:00
2022-07-09 12:59:11 +00:00
2022-04-20 10:46:09 +00:00
2022-06-02 15:05:13 +00:00
2021-12-13 10:21:07 +00:00