Changes between Initial Version and Version 5 of Ticket #50592
- Timestamp:
- 07/14/2020 10:58:55 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #50592
-
Property
Status
changed from
newtoreviewing -
Property
Summary
changed from
Confusing usage of home_url()toSitemaps: Pass full paths to home_url() - Property Owner set to swissspidy
-
Property
Milestone
changed from
Awaiting Reviewto5.5 - Property Keywords has-patch commit added
-
Property
Status
changed from
-
Ticket #50592 – Description
initial v5 4 4 See: https://github.com/WordPress/WordPress/blob/fe823d698f5e57135c102e02d7e23d4019ac59d5/wp-includes/sitemaps/class-wp-sitemaps-index.php#L78 5 5 6 There is no issue on a fresh install but it causes issues with plugins or themes using the filter `home_url`. Any function hooked to this filter will interpret that the url be eing built is the homepage url when it's actually the sitemap index url which is beeing built.6 There is no issue on a fresh install but it causes issues with plugins or themes using the filter `home_url`. Any function hooked to this filter will interpret that the url being built is the homepage url when it's actually the sitemap index url which is being built. 7 7 8 8 I propose to change this to: