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:
parent
c5963b8760
commit
ace6756081
@ -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"> </span>
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user