Editor: add `hide-if-no-js` class to `<td id="wp-word-count">`. Word Count no worky with no JavaScript.

Props chriscct7.
Fixes #33379.

Built from https://develop.svn.wordpress.org/trunk@34275


git-svn-id: http://core.svn.wordpress.org/trunk@34239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-09-18 02:32:26 +00:00
parent 0708ffe15c
commit 9b7b7f6dde
2 changed files with 2 additions and 2 deletions

View File

@ -584,7 +584,7 @@ if ( post_type_supports($post_type, 'editor') ) {
),
) ); ?>
<table id="post-status-info"><tbody><tr>
<td id="wp-word-count"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td>
<td id="wp-word-count" class="hide-if-no-js"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td>
<td class="autosave-info">
<span class="autosave-message">&nbsp;</span>
<?php

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34274';
$wp_version = '4.4-alpha-34275';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.