Make WordPress Core


Ignore:
Timestamp:
06/19/2020 05:54:56 PM (6 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.php

    r48072 r48093  
    1616 * @since 5.5.0
    1717 *
     18 * @global WP_Sitemaps $wp_sitemaps Global Core Sitemaps instance.
     19 *
    1820 * @return WP_Sitemaps|null Sitemaps instance, or null if sitemaps are disabled.
    1921 */
    2022function wp_sitemaps_get_server() {
    21     /**
    22      * Global Core Sitemaps instance.
    23      *
    24      * @since 5.5.0
    25      *
    26      * @var WP_Sitemaps $wp_sitemaps
    27      */
    2823    global $wp_sitemaps;
    2924
Note: See TracChangeset for help on using the changeset viewer.