Docs: Various docblock fixes in `WP_Rewrite` class, as per documentation standards.

See #55646.

Built from https://develop.svn.wordpress.org/trunk@54391


git-svn-id: http://core.svn.wordpress.org/trunk@53950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-10-04 23:01:13 +00:00
parent 42552675cc
commit 50309fa1e3
2 changed files with 5 additions and 5 deletions

View File

@ -413,7 +413,7 @@ class WP_Rewrite {
} }
/** /**
* Retrieves all page and attachments for pages URIs. * Retrieves all pages and attachments for pages URIs.
* *
* The attachments are for those that have pages as parents and will be * The attachments are for those that have pages as parents and will be
* retrieved. * retrieved.
@ -616,7 +616,7 @@ class WP_Rewrite {
} }
/** /**
* Retrieve the permalink structure for tags. * Retrieves the permalink structure for tags.
* *
* If the tag_base property has no value, then the tag structure will have * If the tag_base property has no value, then the tag structure will have
* the front property value, followed by 'tag', and finally '%tag%'. If it * the front property value, followed by 'tag', and finally '%tag%'. If it
@ -861,7 +861,7 @@ class WP_Rewrite {
* Default `EP_NONE`. * Default `EP_NONE`.
* @param bool $paged Optional. Whether archive pagination rules should be added for the structure. * @param bool $paged Optional. Whether archive pagination rules should be added for the structure.
* Default true. * Default true.
* @param bool $feed Optional Whether feed rewrite rules should be added for the structure. * @param bool $feed Optional. Whether feed rewrite rules should be added for the structure.
* Default true. * Default true.
* @param bool $forcomments Optional. Whether the feed rules should be a query for a comments feed. * @param bool $forcomments Optional. Whether the feed rules should be a query for a comments feed.
* Default false. * Default false.
@ -1245,7 +1245,7 @@ class WP_Rewrite {
* @param string $permalink_structure The permalink structure to generate rules. * @param string $permalink_structure The permalink structure to generate rules.
* @param bool $walk_dirs Optional. Whether to create list of directories to walk over. * @param bool $walk_dirs Optional. Whether to create list of directories to walk over.
* Default false. * Default false.
* @return array * @return array An array of rewrite rules keyed by their regex pattern.
*/ */
public function generate_rewrite_rule( $permalink_structure, $walk_dirs = false ) { public function generate_rewrite_rule( $permalink_structure, $walk_dirs = false ) {
return $this->generate_rewrite_rules( $permalink_structure, EP_NONE, false, false, false, $walk_dirs ); return $this->generate_rewrite_rules( $permalink_structure, EP_NONE, false, false, false, $walk_dirs );

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.1-beta3-54390'; $wp_version = '6.1-beta3-54391';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.