From fee45f935c175b0538579cfab3c72f11716b0769 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 5 Jul 2021 15:46:40 +0000 Subject: [PATCH] Docs: Miscellaneous docblock improvements. See #53399 git-svn-id: https://develop.svn.wordpress.org/trunk@51330 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/user-edit.php | 4 ++-- src/wp-includes/class-wp-rewrite.php | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php index c994d7e965..4e8f2520cc 100644 --- a/src/wp-admin/user-edit.php +++ b/src/wp-admin/user-edit.php @@ -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 ); ?> diff --git a/src/wp-includes/class-wp-rewrite.php b/src/wp-includes/class-wp-rewrite.php index fbd9a93157..c20e768b4b 100644 --- a/src/wp-includes/class-wp-rewrite.php +++ b/src/wp-includes/class-wp-rewrite.php @@ -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