Make WordPress Core


Ignore:
Timestamp:
11/18/2021 01:48:43 PM (4 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-users.php

    r48100 r52204  
    3535     *                               required for compatibility with the parent
    3636     *                               provider class. Default empty.
    37      * @return array Array of URLs for a sitemap.
     37     * @return array[] Array of URL information for a sitemap.
    3838     */
    3939    public function get_url_list( $page_num, $object_subtype = '' ) {
     
    4646         * @since 5.5.0
    4747         *
    48          * @param array  $url_list The URL list. Default null.
    49          * @param int    $page_num Page of results.
     48         * @param array[]|null $url_list The URL list. Default null.
     49         * @param int        $page_num Page of results.
    5050         */
    5151        $url_list = apply_filters(
     
    100100    public function get_max_num_pages( $object_subtype = '' ) {
    101101        /**
    102          * Filters the max number of pages before it is generated.
     102         * Filters the max number of pages for a user sitemap before it is generated.
    103103         *
    104104         * Passing a non-null value will effectively short-circuit the generation,
     
    107107         * @since 5.5.0
    108108         *
    109          * @param int $max_num_pages The maximum number of pages. Default null.
     109         * @param int|null $max_num_pages The maximum number of pages. Default null.
    110110         */
    111111        $max_num_pages = apply_filters( 'wp_sitemaps_users_pre_max_num_pages', null );
Note: See TracChangeset for help on using the changeset viewer.