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
This commit is contained in:
audrasjb 2022-03-25 21:34:01 +00:00
parent 876dde2def
commit e2bf0e9edf
2 changed files with 8 additions and 8 deletions

View File

@ -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.
*

View File

@ -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.