Make WordPress Core

Changeset 54391


Ignore:
Timestamp:
10/04/2022 10:59:58 PM (4 years ago)
Author:
audrasjb
Message:

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

See #55646.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-rewrite.php

    r54318 r54391  
    414414
    415415        /**
    416          * Retrieves all page and attachments for pages URIs.
     416         * Retrieves all pages and attachments for pages URIs.
    417417         *
    418418         * The attachments are for those that have pages as parents and will be
    … …  
    617617
    618618        /**
    619          * Retrieve the permalink structure for tags.
     619         * Retrieves the permalink structure for tags.
    620620         *
    621621         * If the tag_base property has no value, then the tag structure will have
    … …  
    862862         * @param bool   $paged               Optional. Whether archive pagination rules should be added for the structure.
    863863         *                                    Default true.
    864          * @param bool   $feed                Optional Whether feed rewrite rules should be added for the structure.
     864         * @param bool   $feed                Optional. Whether feed rewrite rules should be added for the structure.
    865865         *                                    Default true.
    866866         * @param bool   $forcomments         Optional. Whether the feed rules should be a query for a comments feed.
    … …  
    12461246         * @param bool   $walk_dirs           Optional. Whether to create list of directories to walk over.
    12471247         *                                    Default false.
    1248          * @return array
     1248         * @return array An array of rewrite rules keyed by their regex pattern.
    12491249         */
    12501250        public function generate_rewrite_rule( $permalink_structure, $walk_dirs = false ) {
Note: See TracChangeset for help on using the changeset viewer.