From 2b611c2b1d29e5f9874ed91936d17f95212947fe Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Tue, 1 Nov 2016 20:53:30 +0000 Subject: [PATCH] Twenty Seventeen: Fixes ul inside ol being wrongly ordered. Now the listing displays correctly. Props tg29359, Soean, laurelfulford, davidakennedy Fixes #38515 Built from https://develop.svn.wordpress.org/trunk@39079 git-svn-id: http://core.svn.wordpress.org/trunk@39021 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyseventeen/rtl.css | 9 --------- wp-content/themes/twentyseventeen/style.css | 15 +-------------- wp-includes/version.php | 2 +- 3 files changed, 2 insertions(+), 24 deletions(-) diff --git a/wp-content/themes/twentyseventeen/rtl.css b/wp-content/themes/twentyseventeen/rtl.css index 30c4188bcb..37ef61c305 100644 --- a/wp-content/themes/twentyseventeen/rtl.css +++ b/wp-content/themes/twentyseventeen/rtl.css @@ -33,15 +33,6 @@ textarea { padding-right: 3px; } -ol { - counter-reset: item; -} - -ol li:before { - left: auto; - right: -1.5em; -} - li > ul, li > ol { margin-left: 0; diff --git a/wp-content/themes/twentyseventeen/style.css b/wp-content/themes/twentyseventeen/style.css index b3c1330e58..356151c02a 100644 --- a/wp-content/themes/twentyseventeen/style.css +++ b/wp-content/themes/twentyseventeen/style.css @@ -1091,20 +1091,7 @@ ul { } ol { - counter-reset: item; -} - -ol li { - display: block; - position: relative; -} - -ol li:before { - content: counter(item) "."; - counter-increment: item; - font-weight: 600; - left: -1.5em; - position: absolute; + list-style: decimal; } li > ul, diff --git a/wp-includes/version.php b/wp-includes/version.php index fe2e036d7a..b639e88d28 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-beta1-39078'; +$wp_version = '4.7-beta1-39079'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.