Turn the Visual Editor user preference on its head, to more accurately reflect what it does now. fixes #6403. props MattyRob.

git-svn-id: https://develop.svn.wordpress.org/trunk@9072 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2008-10-02 22:01:33 +00:00
parent f6a48a5e9a
commit 9a41b69f98
2 changed files with 2 additions and 2 deletions

View File

@ -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']) )

View File

@ -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 ) : ?>