Merged in feature/81-dev-dev01 (pull request #5)
auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
@@ -25,12 +25,12 @@ class WP_Sitemaps_Stylesheet {
|
||||
header( 'Content-Type: application/xml; charset=UTF-8' );
|
||||
|
||||
if ( 'sitemap' === $type ) {
|
||||
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- All content escaped below.
|
||||
// All content is escaped below.
|
||||
echo $this->get_sitemap_stylesheet();
|
||||
}
|
||||
|
||||
if ( 'index' === $type ) {
|
||||
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- All content escaped below.
|
||||
// All content is escaped below.
|
||||
echo $this->get_sitemap_index_stylesheet();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user