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-renderer.php

    r48081 r48093  
    5858     * @since 5.5.0
    5959     *
     60     * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
     61     *
    6062     * @return string The sitemap stylesheet url.
    6163     */
    6264    public function get_sitemap_stylesheet_url() {
    63         /* @var WP_Rewrite $wp_rewrite */
    6465        global $wp_rewrite;
    6566
     
    8889     * @since 5.5.0
    8990     *
     91     * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
     92     *
    9093     * @return string The sitemap index stylesheet url.
    9194     */
    9295    public function get_sitemap_index_stylesheet_url() {
    93         /* @var WP_Rewrite $wp_rewrite */
    9496        global $wp_rewrite;
    9597
Note: See TracChangeset for help on using the changeset viewer.