Docs: Miscellaneous docblock improvements.

See #53399


git-svn-id: https://develop.svn.wordpress.org/trunk@51330 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2021-07-05 15:46:40 +00:00
parent 19751bd0d3
commit fee45f935c
2 changed files with 7 additions and 7 deletions

View File

@ -552,11 +552,11 @@ endif;
* Filters a user contactmethod label.
*
* The dynamic portion of the filter hook, `$name`, refers to
* each of the keys in the contactmethods array.
* each of the keys in the contact methods array.
*
* @since 2.9.0
*
* @param string $desc The translatable label for the contactmethod.
* @param string $desc The translatable label for the contact method.
*/
echo apply_filters( "user_{$name}_label", $desc );
?>

View File

@ -1315,7 +1315,7 @@ class WP_Rewrite {
/**
* Filters rewrite rules used for date archives.
*
* Likely date archives would include /yyyy/, /yyyy/mm/, and /yyyy/mm/dd/.
* Likely date archives would include `/yyyy/`, `/yyyy/mm/`, and `/yyyy/mm/dd/`.
*
* @since 1.5.0
*
@ -1330,7 +1330,7 @@ class WP_Rewrite {
* Filters rewrite rules used for root-level archives.
*
* Likely root-level archives would include pagination rules for the homepage
* as well as site-wide post feeds (e.g. /feed/, and /feed/atom/).
* as well as site-wide post feeds (e.g. `/feed/`, and `/feed/atom/`).
*
* @since 1.5.0
*
@ -1344,7 +1344,7 @@ class WP_Rewrite {
/**
* Filters rewrite rules used for comment feed archives.
*
* Likely comments feed archives include /comments/feed/, and /comments/feed/atom/.
* Likely comments feed archives include `/comments/feed/` and `/comments/feed/atom/`.
*
* @since 1.5.0
*
@ -1359,7 +1359,7 @@ class WP_Rewrite {
/**
* Filters rewrite rules used for search archives.
*
* Likely search-related archives include /search/search+query/ as well as
* Likely search-related archives include `/search/search+query/` as well as
* pagination and feed paths for a search.
*
* @since 1.5.0
@ -1374,7 +1374,7 @@ class WP_Rewrite {
/**
* Filters rewrite rules used for author archives.
*
* Likely author archives would include /author/author-name/, as well as
* Likely author archives would include `/author/author-name/`, as well as
* pagination and feed paths for author archives.
*
* @since 1.5.0