From e2bf0e9edf6a7a9ae182e72b052f0644b15b63e5 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Fri, 25 Mar 2022 21:34:01 +0000 Subject: [PATCH] Docs: Use third-person singular verbs for function descriptions in `wp-includes/rewrite.php`, per the documentation standards. See #54729. Built from https://develop.svn.wordpress.org/trunk@52994 git-svn-id: http://core.svn.wordpress.org/trunk@52583 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rewrite.php | 14 +++++++------- wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index 4a204c2601..ab23a1887c 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -144,7 +144,7 @@ function add_rewrite_rule( $regex, $query, $after = 'bottom' ) { } /** - * Add a new rewrite tag (like %postname%). + * Adds a new rewrite tag (like %postname%). * * The `$query` parameter is optional. If it is omitted you must ensure that you call * this on, or before, the {@see 'init'} hook. This is because `$query` defaults to @@ -191,7 +191,7 @@ function remove_rewrite_tag( $tag ) { } /** - * Add permalink structure. + * Adds a permalink structure. * * @since 3.0.0 * @@ -237,7 +237,7 @@ function remove_permastruct( $name ) { } /** - * Add a new feed type like /atom1/. + * Adds a new feed type like /atom1/. * * @since 2.1.0 * @@ -265,7 +265,7 @@ function add_feed( $feedname, $function ) { } /** - * Remove rewrite rules and then recreate rewrite rules. + * Removes rewrite rules and then recreate rewrite rules. * * @since 3.0.0 * @@ -283,7 +283,7 @@ function flush_rewrite_rules( $hard = true ) { } /** - * Add an endpoint, like /trackback/. + * Adds an endpoint, like /trackback/. * * Adding an endpoint creates extra rewrite rules for each of the matching * places specified by the provided bitmask. For example: @@ -357,7 +357,7 @@ function _wp_filter_taxonomy_base( $base ) { /** - * Resolve numeric slugs that collide with date permalinks. + * Resolves numeric slugs that collide with date permalinks. * * Permalinks of posts with numeric slugs can sometimes look to WP_Query::parse_query() * like a date archive, as when your permalink structure is `/%year%/%postname%/` and @@ -473,7 +473,7 @@ function wp_resolve_numeric_slug_conflicts( $query_vars = array() ) { } /** - * Examine a URL and try to determine the post ID it represents. + * Examines a URL and try to determine the post ID it represents. * * Checks are supposedly from the hosted site blog. * diff --git a/wp-includes/version.php b/wp-includes/version.php index 8734b02555..c279b67030 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52993'; +$wp_version = '6.0-alpha-52994'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.