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 ) {