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

Follow-up to [48104]

See #49572.
Built from https://develop.svn.wordpress.org/trunk@48200


git-svn-id: http://core.svn.wordpress.org/trunk@47969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-06-28 14:09:04 +00:00
parent 3336009e34
commit 00a40b1ef2
8 changed files with 24 additions and 24 deletions

View File

@ -39,7 +39,7 @@ function wp_ajax_nopriv_heartbeat() {
*
* @param array $response The no-priv Heartbeat response.
* @param array $data The $_POST data sent.
* @param string $screen_id The screen id.
* @param string $screen_id The screen ID.
*/
$response = apply_filters( 'heartbeat_nopriv_received', $response, $data, $screen_id );
}
@ -50,7 +50,7 @@ function wp_ajax_nopriv_heartbeat() {
* @since 3.6.0
*
* @param array $response The no-priv Heartbeat response.
* @param string $screen_id The screen id.
* @param string $screen_id The screen ID.
*/
$response = apply_filters( 'heartbeat_nopriv_send', $response, $screen_id );
@ -62,7 +62,7 @@ function wp_ajax_nopriv_heartbeat() {
* @since 3.6.0
*
* @param array $response The no-priv Heartbeat response.
* @param string $screen_id The screen id.
* @param string $screen_id The screen ID.
*/
do_action( 'heartbeat_nopriv_tick', $response, $screen_id );
@ -3354,7 +3354,7 @@ function wp_ajax_heartbeat() {
*
* @param array $response The Heartbeat response.
* @param array $data The $_POST data sent.
* @param string $screen_id The screen id.
* @param string $screen_id The screen ID.
*/
$response = apply_filters( 'wp_refresh_nonces', $response, $data, $screen_id );
@ -3373,7 +3373,7 @@ function wp_ajax_heartbeat() {
*
* @param array $response The Heartbeat response.
* @param array $data The $_POST data sent.
* @param string $screen_id The screen id.
* @param string $screen_id The screen ID.
*/
$response = apply_filters( 'heartbeat_received', $response, $data, $screen_id );
}
@ -3384,7 +3384,7 @@ function wp_ajax_heartbeat() {
* @since 3.6.0
*
* @param array $response The Heartbeat response.
* @param string $screen_id The screen id.
* @param string $screen_id The screen ID.
*/
$response = apply_filters( 'heartbeat_send', $response, $screen_id );
@ -3396,7 +3396,7 @@ function wp_ajax_heartbeat() {
* @since 3.6.0
*
* @param array $response The Heartbeat response.
* @param string $screen_id The screen id.
* @param string $screen_id The screen ID.
*/
do_action( 'heartbeat_tick', $response, $screen_id );

View File

@ -1028,7 +1028,7 @@ function _ipad_meta() {
*
* @param array $response The Heartbeat response.
* @param array $data The $_POST data sent.
* @param string $screen_id The screen id.
* @param string $screen_id The screen ID.
* @return array The Heartbeat response.
*/
function wp_check_locked_posts( $response, $data, $screen_id ) {
@ -1075,7 +1075,7 @@ function wp_check_locked_posts( $response, $data, $screen_id ) {
*
* @param array $response The Heartbeat response.
* @param array $data The $_POST data sent.
* @param string $screen_id The screen id.
* @param string $screen_id The screen ID.
* @return array The Heartbeat response.
*/
function wp_refresh_post_lock( $response, $data, $screen_id ) {
@ -1128,7 +1128,7 @@ function wp_refresh_post_lock( $response, $data, $screen_id ) {
*
* @param array $response The Heartbeat response.
* @param array $data The $_POST data sent.
* @param string $screen_id The screen id.
* @param string $screen_id The screen ID.
* @return array The Heartbeat response.
*/
function wp_refresh_post_nonces( $response, $data, $screen_id ) {

View File

@ -366,7 +366,7 @@ function get_author_posts_url( $author_id, $author_nicename = '' ) {
* @since 2.1.0
*
* @param string $link The URL to the author's page.
* @param int $author_id The author's id.
* @param int $author_id The author's ID.
* @param string $author_nicename The author's nice name.
*/
$link = apply_filters( 'author_link', $link, $author_id, $author_nicename );

View File

@ -916,7 +916,7 @@ function wp_get_links($args = '') {
}
/**
* Gets the links associated with category by id.
* Gets the links associated with category by ID.
*
* @since 0.71
* @deprecated 2.1.0 Use get_bookmarks()
@ -1100,7 +1100,7 @@ function get_linkrating( $link ) {
}
/**
* Gets the name of category by id.
* Gets the name of category by ID.
*
* @since 0.71
* @deprecated 2.1.0 Use get_category()

View File

@ -272,7 +272,7 @@ function comments_link_feed() {
*
* @since 2.5.0
*
* @param int|WP_Comment $comment_id Optional comment object or id. Defaults to global comment object.
* @param int|WP_Comment $comment_id Optional comment object or ID. Defaults to global comment object.
*/
function comment_guid( $comment_id = null ) {
echo esc_url( get_comment_guid( $comment_id ) );
@ -283,7 +283,7 @@ function comment_guid( $comment_id = null ) {
*
* @since 2.5.0
*
* @param int|WP_Comment $comment_id Optional comment object or id. Defaults to global comment object.
* @param int|WP_Comment $comment_id Optional comment object or ID. Defaults to global comment object.
* @return string|false GUID for comment on success, false on failure.
*/
function get_comment_guid( $comment_id = null ) {
@ -302,7 +302,7 @@ function get_comment_guid( $comment_id = null ) {
* @since 1.5.0
* @since 4.4.0 Introduced the `$comment` argument.
*
* @param int|WP_Comment $comment Optional. Comment object or id. Defaults to global comment object.
* @param int|WP_Comment $comment Optional. Comment object or ID. Defaults to global comment object.
*/
function comment_link( $comment = null ) {
/**

View File

@ -31,7 +31,7 @@ function wpmu_update_blogs_date() {
}
/**
* Get a full blog URL, given a blog id.
* Get a full blog URL, given a blog ID.
*
* @since MU (3.0.0)
*
@ -289,7 +289,7 @@ function refresh_blog_details( $blog_id = 0 ) {
}
/**
* Update the details for a blog. Updates the blogs table for a given blog id.
* Update the details for a blog. Updates the blogs table for a given blog ID.
*
* @since MU (3.0.0)
*
@ -382,7 +382,7 @@ function get_blog_option( $id, $option, $default = false ) {
}
/**
* Add a new option for a given blog id.
* Add a new option for a given blog ID.
*
* You do not need to serialize values. If the value needs to be serialized, then
* it will be serialized before it is inserted into the database. Remember,
@ -419,7 +419,7 @@ function add_blog_option( $id, $option, $value ) {
}
/**
* Removes option by name for a given blog id. Prevents removal of protected WordPress options.
* Removes option by name for a given blog ID. Prevents removal of protected WordPress options.
*
* @since MU (3.0.0)
*
@ -450,7 +450,7 @@ function delete_blog_option( $id, $option ) {
*
* @since MU (3.0.0)
*
* @param int $id The blog id.
* @param int $id The blog ID.
* @param string $option The option key.
* @param mixed $value The option value.
* @param mixed $deprecated Not used.

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-48199';
$wp_version = '5.5-alpha-48200';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -925,13 +925,13 @@ class wpdb {
}
/**
* Sets blog id.
* Sets blog ID.
*
* @since 3.0.0
*
* @param int $blog_id
* @param int $network_id Optional.
* @return int Previous blog id.
* @return int Previous blog ID.
*/
public function set_blog_id( $blog_id, $network_id = 0 ) {
if ( ! empty( $network_id ) ) {