From c1ac7b5e16e3827a596bb4787cd8b46410340ff1 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 14 Jul 2020 11:45:03 +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. Built from https://develop.svn.wordpress.org/trunk@48471 git-svn-id: http://core.svn.wordpress.org/trunk@48240 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../sitemaps/class-wp-sitemaps-stylesheet.php | 112 +++++++++--------- wp-includes/version.php | 2 +- 2 files changed, 59 insertions(+), 55 deletions(-) diff --git a/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php b/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php index 652a2b75dd..28c7936a36 100644 --- a/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php +++ b/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}
+ + + + + + + + + + + + +
diff --git a/wp-includes/version.php b/wp-includes/version.php index 4d6736c4d5..4382f05ea1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-beta1-48470'; +$wp_version = '5.5-beta1-48471'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.