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:
markjaquith 2008-10-02 22:01:33 +00:00
parent d89b1ec551
commit 6666636cbd
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 ) : ?>