Changeset 9072

Show
Ignore:
Timestamp:
10/02/08 22:01:33 (2 months ago)
Author:
markjaquith
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/includes/user.php

    r9053 r9072  
    9797        $user->rich_editing = $_POST['rich_editing']; 
    9898    else 
    99         $user->rich_editing = 'false'; 
     99        $user->rich_editing = 'true'; 
    100100 
    101101    $user->use_ssl = 0; 
  • trunk/wp-admin/user-edit.php

    r9032 r9072  
    187187    <tr> 
    188188        <th scope="row"><?php _e('Visual Editor')?></th> 
    189         <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> 
     189        <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> 
    190190    </tr> 
    191191<?php endif; ?>