Changeset 7249 for trunk/wp-includes/registration.php
- Timestamp:
- 03/11/2008 09:06:03 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/registration.php
r6656 r7249 155 155 $rich_editing = 'true'; 156 156 157 if ( empty($admin_color) ) 158 $admin_color = 'classic'; 159 $admin_color = preg_replace('|[^a-z0-9 _.\-@]|i', '', $admin_color); 160 157 161 if ( empty($user_registered) ) 158 162 $user_registered = gmdate('Y-m-d H:i:s'); … … 177 181 update_usermeta( $user_id, 'yim', $yim ); 178 182 update_usermeta( $user_id, 'rich_editing', $rich_editing); 183 update_usermeta( $user_id, 'admin_color', $admin_color); 179 184 180 185 if ( $update && isset($role) ) {
Note: See TracChangeset
for help on using the changeset viewer.