Make WordPress Core


Ignore:
Timestamp:
07/21/2020 03:55:21 PM (6 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/tests/phpunit/tests/sitemaps/functions.php

    r48072 r48540  
    4444         * Test wp_get_sitemaps default functionality
    4545         */
    46         public function test_wp_get_sitemaps() {
    47                 $sitemaps = wp_get_sitemaps();
     46        public function test_wp_get_sitemaps_providers() {
     47                $sitemaps = wp_get_sitemaps_providers();
    4848
    4949                $expected = array(
Note: See TracChangeset for help on using the changeset viewer.