Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way.

See #49572.

git-svn-id: https://develop.svn.wordpress.org/trunk@48104 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-06-20 12:00:07 +00:00
parent 7179459b79
commit 5e2ef3d937
41 changed files with 162 additions and 147 deletions

View File

@@ -530,7 +530,7 @@ function get_comment_class( $class = '', $comment_id = null, $post_id = null ) {
*
* @param string[] $classes An array of comment classes.
* @param string $class A comma-separated list of additional classes added to the list.
* @param int $comment_id The comment id.
* @param int $comment_id The comment ID.
* @param WP_Comment $comment The comment object.
* @param int|WP_Post $post_id The post ID or WP_Post object.
*/
@@ -657,7 +657,7 @@ function comment_excerpt( $comment_ID = 0 ) {
}
/**
* Retrieves the comment id of the current comment.
* Retrieves the comment ID of the current comment.
*
* @since 1.5.0
*
@@ -679,7 +679,7 @@ function get_comment_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFun
}
/**
* Displays the comment id of the current comment.
* Displays the comment ID of the current comment.
*
* @since 0.71
*/
@@ -1922,7 +1922,7 @@ function get_comment_id_fields( $id = 0 ) {
$result .= "<input type='hidden' name='comment_parent' id='comment_parent' value='$replytoid' />\n";
/**
* Filters the returned comment id fields.
* Filters the returned comment ID fields.
*
* @since 3.0.0
*