Make WordPress Core


Ignore:
Timestamp:
11/16/2005 11:32:38 PM (20 years ago)
Author:
matt
Message:

Removing personal options, putting on profile page. Fixes #1557

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/profile-update.php

    r2889 r3112  
    44
    55check_admin_referer();
     6
     7if ( !$_POST )
     8    die( __('No post?') );
    69
    710$errors = edit_user($user_ID);
     
    1417}
    1518
     19if ( !isset( $_POST['rich_editing'] ) )
     20    $_POST['rich_editing'] = 'false';
     21update_user_option( $current_user->id, 'rich_editing', $_POST['rich_editing'], true );
     22
     23do_action('personal_options_update');
     24
    1625if ( 'profile' == $_POST['from'] )
    1726    $to = 'profile.php?updated=true';
Note: See TracChangeset for help on using the changeset viewer.