Changes between Initial Version and Version 1 of Ticket #57671, comment 2
- Timestamp:
- 02/08/2023 03:59:52 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57671, comment 2
initial v1 5 5 Reopening, as this can be done separately from #56261. That ticket is mostly focused on the `comment_ID` value of the comment data array in functions like `wp_new_comment()`, `wp_update_comment()`, or `wp_filter_comment()`, where plugins may expect both `comment_id` and `comment_ID` values to exist in the array. 6 6 7 This ticket can be focused strictly on renaming the `$comment_ID` variable to match core coding standards. This will affect function parameters, internal variables, and hook DocBlocks andencourage better practices.7 This ticket can be focused strictly on renaming the `$comment_ID` variable to match core coding standards. This will affect function parameters, internal variables, and update hook DocBlocks to encourage better practices. 8 8 9 9 Aside from using PHP 8.0+ named parameters, which WordPress does not explicitly support at this time, backward compatibility should not be affected, so I think this can be done in 6.2 as part of other coding standards fixes.