mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-25 02:02:44 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@53729 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| e2e | ||
| gutenberg | ||
| phpunit | ||
| qunit | ||
| visual-regression | ||