mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
Enable RTE for new users. fixes #3485
git-svn-id: https://develop.svn.wordpress.org/trunk@4651 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -79,6 +79,9 @@ function wp_insert_user($userdata) {
|
||||
$description = '';
|
||||
$description = apply_filters('pre_user_description', $description);
|
||||
|
||||
if ( empty($rich_editing) )
|
||||
$rich_editing = 'true';
|
||||
|
||||
if ( empty($user_registered) )
|
||||
$user_registered = gmdate('Y-m-d H:i:s');
|
||||
|
||||
@@ -104,6 +107,7 @@ function wp_insert_user($userdata) {
|
||||
update_usermeta( $user_id, 'jabber', $jabber );
|
||||
update_usermeta( $user_id, 'aim', $aim );
|
||||
update_usermeta( $user_id, 'yim', $yim );
|
||||
update_usermeta( $user_id, 'rich_editing', $rich_editing);
|
||||
|
||||
if ( $update && isset($role) ) {
|
||||
$user = new WP_User($user_id);
|
||||
|
||||
Reference in New Issue
Block a user