Classic Editor: Make sure word count is hidden if JavaScript is disabled.

Removing `display: block` from the element allows the `.hide-if-no-js` class to have the intended effect.

Follow-up to [34275].

Props sabernhardt, mukesh27.
Fixes #52662.
Built from https://develop.svn.wordpress.org/trunk@50512


git-svn-id: http://core.svn.wordpress.org/trunk@50125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-03-09 10:13:08 +00:00
parent a8b7cd17e0
commit ebee7d0ab9
5 changed files with 3 additions and 5 deletions

View File

@ -364,7 +364,6 @@ form#tags-filter {
} }
#wp-word-count { #wp-word-count {
display: block;
padding: 2px 10px; padding: 2px 10px;
} }

File diff suppressed because one or more lines are too long

View File

@ -363,7 +363,6 @@ form#tags-filter {
} }
#wp-word-count { #wp-word-count {
display: block;
padding: 2px 10px; padding: 2px 10px;
} }

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.8-alpha-50510'; $wp_version = '5.8-alpha-50512';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.