Turn the Visual Editor user preference on its head, to more accurately reflect what it does now. fixes #6403. props MattyRob.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d89b1ec551
commit
6666636cbd
|
@ -96,7 +96,7 @@ function edit_user( $user_id = 0 ) {
|
|||
else if ( isset( $_POST['rich_editing'] ) )
|
||||
$user->rich_editing = $_POST['rich_editing'];
|
||||
else
|
||||
$user->rich_editing = 'false';
|
||||
$user->rich_editing = 'true';
|
||||
|
||||
$user->use_ssl = 0;
|
||||
if ( !empty($_POST['use_ssl']) )
|
||||
|
|
|
@ -186,7 +186,7 @@ include ('admin-header.php');
|
|||
<?php if ( rich_edit_exists() ) : // don't bother showing the option if the editor has been removed ?>
|
||||
<tr>
|
||||
<th scope="row"><?php _e('Visual Editor')?></th>
|
||||
<td><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', $profileuser->rich_editing); ?> /> <?php _e('Use the visual editor when writing'); ?></label></td>
|
||||
<td><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="false" <?php checked('false', $profileuser->rich_editing); ?> /> <?php _e('Disable the visual editor when writing'); ?></label></td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php if (count($_wp_admin_css_colors) > 1 ) : ?>
|
||||
|
|
Loading…
Reference in New Issue