mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
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:
parent
694b407297
commit
830f0b6563
@ -49,7 +49,7 @@ function wp_sitemaps_get_server() {
|
||||
*
|
||||
* @return WP_Sitemaps_Provider[] Array of sitemap providers.
|
||||
*/
|
||||
function wp_get_sitemaps_providers() {
|
||||
function wp_get_sitemap_providers() {
|
||||
$sitemaps = wp_sitemaps_get_server();
|
||||
return $sitemaps->registry->get_providers();
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @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.
|
||||
|
Loading…
Reference in New Issue
Block a user