Make WordPress Core


Ignore:
Timestamp:
06/19/2020 05:54:56 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Document globals in WP_Sitemaps_* classes the same way they are documented in the rest of core.

See #49572, #50117.

File:
1 edited

Legend:

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

    r48080 r48093  
    137137     * @since 5.5.0
    138138     *
     139     * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
     140     *
    139141     * @param string $name The name of the sitemap.
    140142     * @param int    $page The page of the sitemap.
     
    142144     */
    143145    public function get_sitemap_url( $name, $page ) {
    144         /* @var WP_Rewrite $wp_rewrite */
    145146        global $wp_rewrite;
    146147
Note: See TracChangeset for help on using the changeset viewer.