Changeset 42217 for trunk/src/wp-admin/options-discussion.php
- Timestamp:
- 11/23/2017 04:08:42 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-discussion.php
r42201 r42217 184 184 185 185 $show_avatars = get_option( 'show_avatars' ); 186 $show_avatars_class = ''; 187 if ( ! $show_avatars ) { 188 $show_avatars_class = ' hide-if-js'; 189 } 186 190 ?> 187 191 … … 196 200 </fieldset></td> 197 201 </tr> 198 <tr class="avatar-settings<?php if ( ! $show_avatars ) echo ' hide-if-js'; ?>">202 <tr class="avatar-settings<?php echo $show_avatars_class; ?>"> 199 203 <th scope="row"><?php _e('Maximum Rating'); ?></th> 200 204 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Maximum Rating'); ?></span></legend> … … 219 223 </fieldset></td> 220 224 </tr> 221 <tr class="avatar-settings<?php if ( ! $show_avatars ) echo ' hide-if-js'; ?>">225 <tr class="avatar-settings<?php echo $show_avatars_class; ?>"> 222 226 <th scope="row"><?php _e('Default Avatar'); ?></th> 223 227 <td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e('Default Avatar'); ?></span></legend>
Note: See TracChangeset
for help on using the changeset viewer.