Sitemaps: Add wrapping `<div>` 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
This commit is contained in:
parent
66c6ad97bc
commit
c1ac7b5e16
|
@ -91,6 +91,7 @@ class WP_Sitemaps_Stylesheet {
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="sitemap">
|
||||
<div id="sitemap__header">
|
||||
<h1>{$title}</h1>
|
||||
<p>{$description}</p>
|
||||
|
@ -131,6 +132,7 @@ class WP_Sitemaps_Stylesheet {
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
@ -199,6 +201,7 @@ XSL;
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="sitemap">
|
||||
<div id="sitemap__header">
|
||||
<h1>{$title}</h1>
|
||||
<p>{$description}</p>
|
||||
|
@ -227,6 +230,7 @@ XSL;
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue