Docs: Corrections and improvements to inline docs related to XML sitemaps.

See #50117, #49572

git-svn-id: https://develop.svn.wordpress.org/trunk@48098 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2020-06-19 22:24:14 +00:00
parent c7f03167a7
commit 4b1b525f31
10 changed files with 41 additions and 41 deletions
+3 -3
View File
@@ -49,7 +49,7 @@ function wp_sitemaps_get_server() {
*
* @since 5.5.0
*
* @param WP_Sitemaps $sitemaps Server object.
* @param WP_Sitemaps $wp_sitemaps Sitemaps object.
*/
do_action( 'wp_sitemaps_init', $wp_sitemaps );
}
@@ -58,11 +58,11 @@ function wp_sitemaps_get_server() {
}
/**
* Gets a list of sitemap providers.
* Gets an array of sitemap providers.
*
* @since 5.5.0
*
* @return array $sitemaps A list of registered sitemap providers.
* @return WP_Sitemaps_Provider[] Array of sitemap providers.
*/
function wp_get_sitemaps() {
$sitemaps = wp_sitemaps_get_server();