Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way.
See #49572. Built from https://develop.svn.wordpress.org/trunk@48104 git-svn-id: http://core.svn.wordpress.org/trunk@47873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user