Sitemaps: Remove some extra space from `WP_Sitemaps_Stylesheet::get_stylesheet_css()`.

Follow-up to [48414].

See #50449.
Built from https://develop.svn.wordpress.org/trunk@48425


git-svn-id: http://core.svn.wordpress.org/trunk@48194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-07-10 16:12:03 +00:00
parent 51856d435b
commit 376435ac9a
2 changed files with 17 additions and 12 deletions

View File

@ -86,7 +86,9 @@ class WP_Sitemaps_Stylesheet {
<html {$lang}>
<head>
<title>{$title}</title>
<style>{$css}</style>
<style>
{$css}
</style>
</head>
<body>
<div id="sitemap__header">
@ -192,7 +194,9 @@ XSL;
<html {$lang}>
<head>
<title>{$title}</title>
<style>{$css}</style>
<style>
{$css}
</style>
</head>
<body>
<div id="sitemap__header">
@ -251,42 +255,43 @@ XSL;
$text_align = is_rtl() ? 'right' : 'left';
$css = <<<EOF
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
color: #444;
}
#sitemap__table {
border: solid 1px #ccc;
border-collapse: collapse;
}
#sitemap__table tr td.loc {
/*
* URLs should always be LTR.
* see https://core.trac.wordpress.org/ticket/16834 and
* https://core.trac.wordpress.org/ticket/49949
* See https://core.trac.wordpress.org/ticket/16834
* and https://core.trac.wordpress.org/ticket/49949
*/
direction: ltr;
}
#sitemap__table tr th {
text-align: {$text_align};
}
#sitemap__table tr td,
#sitemap__table tr th {
padding: 10px;
}
#sitemap__table tr:nth-child(odd) td {
background-color: #eee;
}
a:hover {
text-decoration: none;
}
EOF;
/**

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-beta1-48424';
$wp_version = '5.5-beta1-48425';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.