Docs: Standardize filter docs in wp-includes/author-template.php to use third-person singular verbs per the inline documentation standards for PHP.
See #36913. git-svn-id: https://develop.svn.wordpress.org/trunk@37495 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0c72120925
commit
23ecafeae9
|
@ -27,7 +27,7 @@ function get_the_author($deprecated = '') {
|
||||||
_deprecated_argument( __FUNCTION__, '2.1' );
|
_deprecated_argument( __FUNCTION__, '2.1' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the display name of the current post's author.
|
* Filters the display name of the current post's author.
|
||||||
*
|
*
|
||||||
* @since 2.9.0
|
* @since 2.9.0
|
||||||
*
|
*
|
||||||
|
@ -88,7 +88,7 @@ function get_the_modified_author() {
|
||||||
$last_user = get_userdata($last_id);
|
$last_user = get_userdata($last_id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the display name of the author who last edited the current post.
|
* Filters the display name of the author who last edited the current post.
|
||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
|
@ -137,7 +137,7 @@ function get_the_author_meta( $field = '', $user_id = false ) {
|
||||||
$value = isset( $authordata->$field ) ? $authordata->$field : '';
|
$value = isset( $authordata->$field ) ? $authordata->$field : '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the value of the requested user metadata.
|
* Filters the value of the requested user metadata.
|
||||||
*
|
*
|
||||||
* The filter name is dynamic and depends on the $field parameter of the function.
|
* The filter name is dynamic and depends on the $field parameter of the function.
|
||||||
*
|
*
|
||||||
|
@ -258,7 +258,7 @@ function get_the_author_posts_link() {
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the link to the author page of the author of the current post.
|
* Filters the link to the author page of the author of the current post.
|
||||||
*
|
*
|
||||||
* @since 2.9.0
|
* @since 2.9.0
|
||||||
*
|
*
|
||||||
|
@ -312,7 +312,7 @@ function get_author_posts_url( $author_id, $author_nicename = '' ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the URL to the author's page.
|
* Filters the URL to the author's page.
|
||||||
*
|
*
|
||||||
* @since 2.1.0
|
* @since 2.1.0
|
||||||
*
|
*
|
||||||
|
@ -480,7 +480,7 @@ function is_multi_author() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter whether the site has more than one author with published posts.
|
* Filters whether the site has more than one author with published posts.
|
||||||
*
|
*
|
||||||
* @since 3.2.0
|
* @since 3.2.0
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue