Skip to content

Commit 8b9691a

Browse files
committed
Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards.
Follow-up to [55911], [55916], [55917]. Props costdev. See #57840. git-svn-id: https://develop.svn.wordpress.org/trunk@55918 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6837a90 commit 8b9691a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/wp-comments-post.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
$cookies_consent = ( isset( $_POST['wp-comment-cookies-consent'] ) );
4444

4545
/**
46-
* Perform other actions when comment cookies are set.
46+
* Fires after comment cookies are set.
4747
*
4848
* @since 3.4.0
4949
* @since 4.9.6 The `$cookies_consent` parameter was added.

src/wp-login.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424

2525
/**
26-
* Output the login page header.
26+
* Outputs the login page header.
2727
*
2828
* @since 2.1.0
2929
*
@@ -107,7 +107,7 @@ function login_header( $title = 'Log In', $message = '', $wp_error = null ) {
107107
}
108108

109109
/**
110-
* Enqueue scripts and styles for the login page.
110+
* Enqueues scripts and styles for the login page.
111111
*
112112
* @since 3.1.0
113113
*/
@@ -294,7 +294,7 @@ function login_footer( $input_id = '' ) {
294294
)
295295
);
296296
/**
297-
* Filter the "Go to site" link displayed in the login page footer.
297+
* Filters the "Go to site" link displayed in the login page footer.
298298
*
299299
* @since 5.7.0
300300
*

src/wp-signup.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ function signup_another_blog( $blogname = '', $blog_title = '', $errors = '' ) {
399399
<input type="hidden" name="stage" value="gimmeanotherblog" />
400400
<?php
401401
/**
402-
* Hidden sign-up form fields output when creating another site or user.
402+
* Fires when hidden sign-up form fields output when creating another site or user.
403403
*
404404
* @since MU (3.0.0)
405405
*

src/xmlrpc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<api name="Blogger" blogID="1" preferred="false" apiLink="<?php echo site_url( 'xmlrpc.php', 'rpc' ); ?>" />
4747
<?php
4848
/**
49-
* Adds additional APIs to the Really Simple Discovery (RSD) endpoint.
49+
* Fires when adding APIs to the Really Simple Discovery (RSD) endpoint.
5050
*
5151
* @link https://cyber.harvard.edu/blogs/gems/tech/rsd.html
5252
*

0 commit comments

Comments
 (0)