Ticket #1824: subscribers-no-wysiwyg-option.diff

File subscribers-no-wysiwyg-option.diff, 882 bytes (added by davidhouse, 7 years ago)
  • wp-admin/options-personal.php

     
    1717<tr valign="top">  
    1818<th width="33%" scope="row"><?php _e('Editing:') ?></th>  
    1919<td><label for="rich_editing"> 
    20 <input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', get_user_option('rich_editing')); ?> /> 
    21 <?php _e('Use the visual rich editor when writing') ?></label></td>  
     20<?php if (current_user_can('edit_posts')) { ?> 
     21        <input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', get_user_option('rich_editing')); ?> /> 
     22        <?php _e('Use the visual rich editor when writing') ?></label></td>  
     23<?php } ?> 
    2224</tr>  
    2325<tr valign="top">  
    2426<th scope="row"><?php _e('More:') ?></th>