[wp-trac] [WordPress Trac] #51211: Implement a consistent function to obtain the sitemap location

WordPress Trac noreply at wordpress.org
Thu Dec 28 11:04:28 UTC 2023


#51211: Implement a consistent function to obtain the sitemap location
-------------------------+------------------------------
 Reporter:  GreatBlakes  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Sitemaps     |     Version:  5.5.1
 Severity:  trivial      |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by swissspidy):

 This function was intended to return URLs for the various sitemaps
 generated by cire, not a universal function for getting the ones added by
 plugins.

 If we want to change its purpose and make it ''the'' function for getting
 ''any'' sitemap URL, we should also consider whether this should actually
 be a new function just for the sitemap index file.

 We should reach out to plugin authors to see whether any such addition
 even makes sense for them. What good is this filter if nobody uses it?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51211#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list