From 2e6a782a5f656f890095af0adb3724650a4f8b76 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 5 Jul 2021 15:48:00 +0000 Subject: [PATCH] Docs: Miscellaneous docblock improvements. See #53399 Built from https://develop.svn.wordpress.org/trunk@51330 git-svn-id: http://core.svn.wordpress.org/trunk@50939 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/user-edit.php | 4 ++-- wp-includes/class-wp-rewrite.php | 10 +++++----- wp-includes/version.php | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index c994d7e965..4e8f2520cc 100644 --- a/wp-admin/user-edit.php +++ b/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/wp-includes/class-wp-rewrite.php b/wp-includes/class-wp-rewrite.php index fbd9a93157..c20e768b4b 100644 --- a/wp-includes/class-wp-rewrite.php +++ b/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 diff --git a/wp-includes/version.php b/wp-includes/version.php index 7e9b593bc3..7d0a964444 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51329'; +$wp_version = '5.9-alpha-51330'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.