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

Props chriscct7.
Fixes #33379.


git-svn-id: https://develop.svn.wordpress.org/trunk@34275 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-09-18 02:31:23 +00:00
parent c5963b8760
commit ace6756081

View File

@ -584,7 +584,7 @@ if ( post_type_supports($post_type, 'editor') ) {
), ),
) ); ?> ) ); ?>
<table id="post-status-info"><tbody><tr> <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"> <td class="autosave-info">
<span class="autosave-message">&nbsp;</span> <span class="autosave-message">&nbsp;</span>
<?php <?php