From 649b7aae925183ab316ab4b41406cbe59f2dd372 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Jul 2020 11:43:54 +0000 Subject: [PATCH] Sitemaps: Add wrapping `
` around sitemap in stylesheet. This makes it easier to style the sitemap and for example center the entire content area. Props ramiy. Fixes #50622. git-svn-id: https://develop.svn.wordpress.org/trunk@48471 602fd350-edb4-49c9-b593-d223f7449a82 --- .../sitemaps/class-wp-sitemaps-stylesheet.php | 112 +++++++++--------- 1 file changed, 58 insertions(+), 54 deletions(-) diff --git a/src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php b/src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php index 652a2b75dd..28c7936a36 100644 --- a/src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php +++ b/src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php @@ -91,45 +91,47 @@ class WP_Sitemaps_Stylesheet { -
-

{$title}

-

{$description}

-

{$learn_more}

-
-
-

{$text}

- - - - - - - - - - - - - - - - - +
+
+

{$title}

+

{$description}

+

{$learn_more}

+
+
+

{$text}

+
{$url}{$lastmod}{$changefreq}{$priority}
+ - + - + - + - + - - -
{$url} {$lastmod} {$changefreq} {$priority}
+ + + + + + + + + + + + + + + + + + +
@@ -199,33 +201,35 @@ XSL; -
-

{$title}

-

{$description}

-

{$learn_more}

-
-
-

{$text}

- - - - - - - - - - - +
+
+

{$title}

+

{$description}

+

{$learn_more}

+
+
+

{$text}

+
{$url}{$lastmod}
+ - + - + - - -
{$url} {$lastmod}
+ + + + + + + + + + + + +