Skip to content
Snippets Groups Projects
Commit 6ee5ebe5 authored by Georg Ringer's avatar Georg Ringer Committed by Richard Haeser
Browse files

[BUGFIX] Make rendering of priority option optional in XML sitemaps

According to https://www.sitemaps.org/de/protocol.html the option
`priority` is optional. If a SitemapProvider doesn't provide a priority
information the tag must be avoided to have a valid XML structure.

Resolves: #91286
Releases: master, 9.5
Change-Id: I0bd4379633359321ad39726e4357773880c15638
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64397


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarChristian Eßl <indy.essl@gmail.com>
Tested-by: default avatarJosef Glatz <josefglatz@gmail.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarRichard Haeser <richard@maxserv.com>
Reviewed-by: default avatarChristian Eßl <indy.essl@gmail.com>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarJosef Glatz <josefglatz@gmail.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarRichard Haeser <richard@maxserv.com>
parent b7a05352
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment