- E7176F4843B6CE5DAFE0A3B244D785E698BCCA813763CB960DE3A3C2985BB06040507070B098BC980682B2CEF4EE5E4BB49638B6218FB7F940310BC85E930454
+ 1509B338BFA860C931186CC73BE9C9D0EBE0C4C8DAED0070E2079EFD7BDC288C711964E35BE35FF2A34DC30074638A490E2C9A5581D1EB6FEE7F7B21DBAA0ED5
mp-wp/wp-includes/registration.php
(58 . 11)(58 . 10)
24634 * Can update a current user or insert a new user based on whether the user's ID
24635 * is present.
24636 *
24637 * Can be used to update the user's info (see below), set the user's role, and
24638 * set the user's preference on whether they want the rich editor on.
24639 * Can be used to update the user's info (see below) and set the user's role.
24640 *
24641 * Most of the $userdata array fields have filters associated with the values.
24642 * The exceptions are 'rich_editing', 'role', 'jabber', 'aim', 'yim',
24643 * The exceptions are 'role', 'jabber', 'aim', 'yim',
24644 * 'user_registered', and 'ID'. The filters have the prefix 'pre_user_' followed
24645 * by the field name. An example using 'description' would have the filter
24646 * called, 'pre_user_description' that can be hooked into.
(83 . 8)(82 . 6)
24648 * 'first_name' - The user's first name.
24649 * 'last_name' - The user's last name.
24650 * 'description' - A string containing content about the user.
24651 * 'rich_editing' - A string for whether to enable the rich editor or not. False
24652 * if not empty.
24653 * 'user_registered' - The date the user registered. Format is 'Y-m-d H:i:s'.
24654 * 'role' - A string used to set the user's role.
24655 * 'jabber' - User's Jabber account.
(151 . 9)(148 . 6)
24657 $description = '';
24658 $description = apply_filters('pre_user_description', $description);
24659
24660 if ( empty($rich_editing) )
24661 $rich_editing = 'true';
24662
24663 if ( empty($comment_shortcuts) )
24664 $comment_shortcuts = 'false';
24665
(194 . 7)(188 . 6)
24667 update_usermeta( $user_id, 'jabber', $jabber );
24668 update_usermeta( $user_id, 'aim', $aim );
24669 update_usermeta( $user_id, 'yim', $yim );
24670 update_usermeta( $user_id, 'rich_editing', $rich_editing);
24671 update_usermeta( $user_id, 'comment_shortcuts', $comment_shortcuts);
24672 update_usermeta( $user_id, 'admin_color', $admin_color);
24673 update_usermeta( $user_id, 'use_ssl', $use_ssl);