Make WordPress Core


Ignore:
Timestamp:
11/18/2021 01:48:43 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Various corrections and improvements relating to types used in inline documentation.

See #53399

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php

    r51788 r52204  
    5757         * @param int    $page_num       Page of results.
    5858         * @param string $object_subtype Optional. Taxonomy name. Default empty.
    59          * @return array Array of URLs for a sitemap.
     59         * @return array[] Array of URL information for a sitemap.
    6060         */
    6161        public function get_url_list( $page_num, $object_subtype = '' ) {
     
    7777                 * @since 5.5.0
    7878                 *
    79                  * @param array  $url_list The URL list. Default null.
    80                  * @param string $taxonomy Taxonomy name.
    81                  * @param int    $page_num Page of results.
     79                 * @param array[]|null $url_list The URL list. Default null.
     80                 * @param string       $taxonomy Taxonomy name.
     81                 * @param int          $page_num Page of results.
    8282                 */
    8383                $url_list = apply_filters(
     
    150150
    151151                /**
    152                  * Filters the max number of pages before it is generated.
     152                 * Filters the max number of pages for a taxonomy sitemap before it is generated.
    153153                 *
    154154                 * Passing a non-null value will short-circuit the generation,
     
    157157                 * @since 5.5.0
    158158                 *
    159                  * @param int    $max_num_pages The maximum number of pages. Default null.
    160                  * @param string $taxonomy      Taxonomy name.
     159                 * @param int|null $max_num_pages The maximum number of pages. Default null.
     160                 * @param string   $taxonomy      Taxonomy name.
    161161                 */
    162162                $max_num_pages = apply_filters( 'wp_sitemaps_taxonomies_pre_max_num_pages', null, $taxonomy );
Note: See TracChangeset for help on using the changeset viewer.