From 22a50196d7e0e8ea3dae85512f4534f37c45a953 Mon Sep 17 00:00:00 2001 From: laurelfulford Date: Sat, 15 Dec 2018 11:15:14 +0000 Subject: [PATCH] Twenty Seventeen: Remove unnecessary `ol` styles from editor. Twenty Seventeen was designed with bolded numbers for its ordered list styles. This was removed from the theme prior to launch, but it was left in the editor styles, so it needed to be removed there, too. Props mmaumio, edpittol. Fixes #44775. Built from https://develop.svn.wordpress.org/branches/5.0@44203 git-svn-id: http://core.svn.wordpress.org/branches/5.0@44033 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../twentyseventeen/assets/css/editor-style.css | 17 ----------------- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/wp-content/themes/twentyseventeen/assets/css/editor-style.css b/wp-content/themes/twentyseventeen/assets/css/editor-style.css index dd929f867b..ab595a1ece 100644 --- a/wp-content/themes/twentyseventeen/assets/css/editor-style.css +++ b/wp-content/themes/twentyseventeen/assets/css/editor-style.css @@ -232,23 +232,10 @@ ul { list-style: disc; } -ol { - counter-reset: item; -} - ol > li { - display: block; position: relative; } -ol > li:before { - content: counter(item); - counter-increment: item; - font-weight: 800; - left: -1.5em; - position: absolute; -} - li > ul, li > ol { margin-bottom: 0; @@ -580,10 +567,6 @@ object { text-align: right; } -.rtl ol { - counter-reset: item; -} - .rtl ol > li:before { left: auto; right: -1.5em; diff --git a/wp-includes/version.php b/wp-includes/version.php index 226ae01820..8e839eee7c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0.2-alpha-44202'; +$wp_version = '5.0.2-alpha-44203'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.