Make WordPress Core


Ignore:
Timestamp:
07/21/2020 03:55:21 PM (5 years ago)
Author:
swissspidy
Message:

Sitemaps: Rename wp_get_sitemaps() to wp_get_sitemaps_providers()

Following [48536], rename the function to match the rest of the sitemaps logic.

Also eliminates some dead code after [48523].

Props pbiron.
See #50724. See #50643.

File:
1 edited

Legend:

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

    r48536 r48540  
    5050     *
    5151     * @param string $name Sitemap provider name.
    52      * @return WP_Sitemaps_Provider|null Sitemaps provider if it exists, null otherwise.
     52     * @return WP_Sitemaps_Provider|null Sitemap provider if it exists, null otherwise.
    5353     */
    5454    public function get_provider( $name ) {
Note: See TracChangeset for help on using the changeset viewer.