Changeset 3488 for trunk/wp-includes/pluggable-functions.php
- Timestamp:
- 01/27/2006 06:14:33 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable-functions.php
r3455 r3488 87 87 } //end if 88 88 89 // For backwards compat. 90 if ( isset($user->first_name) ) 91 $user->user_firstname = $user->first_name; 92 if ( isset($user->last_name) ) 93 $user->user_lastname = $user->last_name; 94 if ( isset($user->description) ) 95 $user->user_description = $user->description; 96 89 97 wp_cache_add($user_id, $user, 'users'); 90 98 wp_cache_add($user->user_login, $user, 'userlogins'); … … 131 139 } 132 140 } 141 142 // For backwards compat. 143 if ( isset($user->first_name) ) 144 $user->user_firstname = $user->first_name; 145 if ( isset($user->last_name) ) 146 $user->user_lastname = $user->last_name; 147 if ( isset($user->description) ) 148 $user->user_description = $user->description; 133 149 134 150 wp_cache_add($user->ID, $user, 'users');
Note: See TracChangeset
for help on using the changeset viewer.