WordPress/wp-admin
Sergey Biryukov 69a8ecce33 Coding Standards: Rename $comment_post_ID and $comment_author_IP variables in various files.
This fixes two WPCS warnings:
* `Variable "$comment_post_ID" is not in valid snake_case format`
* `Variable "$comment_author_IP" is not in valid snake_case format`

While matching the database fields of the same name, these variables did not follow the WordPress coding standards, and are now renamed to address that.

Note: The name change only affects internal variables and parameters for a few actions receiving a comment post ID:

* `edit_comment`
* `comment_id_not_found`
* `comment_closed`
* `comment_on_trash`
* `comment_on_draft`
* `comment_on_password_protected`
* `pre_comment_on_post`

The change does not affect parameters for functions receiving an array of comment data:

* `wp_insert_comment()`
* `wp_new_comment()`
* `wp_update_comment()`
* `wp_handle_comment_submission()`

The associated array keys still match the database fields: `comment_post_ID` and `comment_author_IP`.

Follow-up to [1706], [2894], [8720], [28427], [28437], [28457], [34799], [53720],

See #55647, #56244.
Built from https://develop.svn.wordpress.org/trunk@53723


git-svn-id: http://core.svn.wordpress.org/trunk@53282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-19 16:19:11 +00:00
..
css Upgrade/Install: Improve plugin update icon alignment. 2022-07-19 09:25:13 +00:00
images Administration: Update design of the Dashboard welcome panel. 2022-05-10 16:45:08 +00:00
includes Coding Standards: Rename $comment_post_ID and $comment_author_IP variables in various files. 2022-07-19 16:19:11 +00:00
js Quick/Bulk Edit: Remove duplicate HTML IDs. 2022-05-05 03:26:16 +00:00
maint
network General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:14:10 +00:00
user
about.php Help/About: Add cache busting string to video thumbnail. 2022-05-25 02:19:17 +00:00
admin-ajax.php Coding Standards: Remove extra space in wp-admin/admin-ajax.php. 2022-05-07 16:21:18 +00:00
admin-footer.php
admin-functions.php
admin-header.php Docs: Add missing description for $typenow global in various functions. 2022-04-04 18:39:01 +00:00
admin-post.php
admin.php Docs: Add missing description for $taxnow global in various functions. 2022-04-04 18:43:02 +00:00
async-upload.php
authorize-application.php I18N: Add missing translator comment for application password helper text for Super Admins. 2022-04-08 00:03:05 +00:00
comment.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
credits.php
custom-background.php
custom-header.php
customize.php Customizer: When a block theme is active, add an information about Site Editor in the Customizer. 2022-03-29 19:10:14 +00:00
edit-comments.php Docs: Explicitly declare some globals for clarity. 2022-05-29 15:35:11 +00:00
edit-form-advanced.php Administration: Remove self-reference ("we") in WordPress Admin. 2022-04-11 11:42:04 +00:00
edit-form-blocks.php Editor: Return additional block patterns to server-generated settings 2022-05-17 14:38:14 +00:00
edit-form-comment.php Docs: Explicitly declare some globals for clarity. 2022-05-29 15:35:11 +00:00
edit-link-form.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
edit-tag-form.php General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:14:10 +00:00
edit-tags.php General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:14:10 +00:00
edit.php Docs: Explicitly declare some globals for clarity. 2022-05-29 15:35:11 +00:00
erase-personal-data.php Help/about: Improve text in help tabs of the Personal Data Exporter/Eraser. 2022-04-14 14:46:07 +00:00
export-personal-data.php Help/about: Improve text in help tabs of the Personal Data Exporter/Eraser. 2022-04-14 14:46:07 +00:00
export.php Administration: Remove self-reference ("we") in WordPress Admin. 2022-04-11 11:42:04 +00:00
freedoms.php Administration: Remove self-reference ("we") in WordPress Admin. 2022-04-11 11:42:04 +00:00
import.php
index.php
install-helper.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/install-helper.php. 2022-04-20 11:19:12 +00:00
install.php Docs: Explicitly declare some globals for clarity. 2022-05-29 15:35:11 +00:00
link-add.php
link-manager.php
link-parse-opml.php
link.php
load-scripts.php
load-styles.php
media-new.php
media-upload.php
media.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
menu-header.php Administration: Restore the correct escaping function for base64-encoded SVG icons in the admin menu. 2022-04-07 12:54:03 +00:00
menu.php
moderation.php
ms-admin.php
ms-delete-site.php
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php
nav-menus.php Text Changes: Improve consistency of punctuation in some strings. 2022-07-14 14:10:11 +00:00
network.php
options-discussion.php Options, Meta APIs: Rephrase the description of the "Avatars" section. 2022-03-28 10:56:04 +00:00
options-general.php Text Changes: Fix various inconsistent capitalization issues. 2022-04-15 11:58:10 +00:00
options-head.php
options-media.php
options-permalink.php Coding Standards: Use MINUTE_IN_SECONDS where appropriate. 2022-07-17 02:18:09 +00:00
options-privacy.php Administration: Clarify some sentences after [53131]. 2022-04-12 13:43:16 +00:00
options-reading.php
options-writing.php
options.php Coding Standards: Use MINUTE_IN_SECONDS where appropriate. 2022-07-17 02:18:09 +00:00
plugin-editor.php Text Changes: Fix various inconsistent capitalization issues. 2022-04-15 11:58:10 +00:00
plugin-install.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
plugins.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
post-new.php
post.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
press-this.php
privacy-policy-guide.php Administration: Remove self-reference ("we") in WordPress Admin. 2022-04-11 11:42:04 +00:00
privacy.php
profile.php
revision.php
setup-config.php Text Changes: Improve consistency of admin error notices. 2022-06-02 15:05:13 +00:00
site-editor.php Coding Standards: Correct alignment in various files. 2022-05-23 20:40:14 +00:00
site-health-info.php
site-health.php
term.php General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:14:10 +00:00
theme-editor.php Text Changes: Fix various inconsistent capitalization issues. 2022-04-15 11:58:10 +00:00
theme-install.php Themes: Use consistent thumbnail sizes in Customizer preview screen. 2022-04-16 06:15:09 +00:00
themes.php Themes: Properly escape home_url() when changing and updating themes. 2022-07-06 19:46:10 +00:00
tools.php
update-core.php Text Changes: Improve consistency of punctuation in some strings. 2022-07-14 14:10:11 +00:00
update.php
upgrade-functions.php
upgrade.php General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:14:10 +00:00
upload.php Help/About: Typo correction in the Media Library help tab text. 2022-06-29 13:39:14 +00:00
user-edit.php General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:14:10 +00:00
user-new.php Users: Use autocomplete values on user profiles. 2022-04-08 17:40:07 +00:00
users.php Help/About: Add help tab info for the "Send password reset" row action on Users screen. 2022-07-05 00:25:13 +00:00
widgets-form-blocks.php Editor: Update preload paths for post, site and widgets editors 2022-04-07 13:40:04 +00:00
widgets-form.php
widgets.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 19:59:04 +00:00