Make WordPress Core

Changeset 34275


Ignore:
Timestamp:
09/18/2015 02:31:23 AM (9 years ago)
Author:
wonderboymusic
Message:

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

Props chriscct7.
Fixes #33379.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-advanced.php

    r34170 r34275  
    585585) ); ?>
    586586<table id="post-status-info"><tbody><tr>
    587     <td id="wp-word-count"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td>
     587    <td id="wp-word-count" class="hide-if-no-js"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td>
    588588    <td class="autosave-info">
    589589    <span class="autosave-message">&nbsp;</span>
Note: See TracChangeset for help on using the changeset viewer.