Sitemaps: Rename wp_get_sitemaps_providers() to wp_get_sitemap_providers().

Follow-up to [48536], [48540].

Props pbiron, swissspidy, SergeyBiryukov.
See #50724.
Built from https://develop.svn.wordpress.org/trunk@48541


git-svn-id: http://core.svn.wordpress.org/trunk@48303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-07-21 16:06:04 +00:00
parent 694b407297
commit 830f0b6563
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ function wp_sitemaps_get_server() {
* *
* @return WP_Sitemaps_Provider[] Array of sitemap providers. * @return WP_Sitemaps_Provider[] Array of sitemap providers.
*/ */
function wp_get_sitemaps_providers() { function wp_get_sitemap_providers() {
$sitemaps = wp_sitemaps_get_server(); $sitemaps = wp_sitemaps_get_server();
return $sitemaps->registry->get_providers(); return $sitemaps->registry->get_providers();
} }

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.5-beta2-48540'; $wp_version = '5.5-beta2-48541';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.