Changeset 2711
- Timestamp:
- 07/14/2005 10:58:58 PM (21 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
-
capabilities.php (modified) (1 diff)
-
pluggable-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r2703 r2711 63 63 } 64 64 65 function is_role($ caps)65 function is_role($role) 66 66 { 67 return empty($this->role_names[$ cap]);67 return empty($this->role_names[$role]); 68 68 } 69 69 } -
trunk/wp-includes/pluggable-functions.php
r2704 r2711 53 53 54 54 $cache_userdata[$user_id] = $user; 55 $cache_userdata[$cache_userdata[$user id]->user_login] =& $cache_userdata[$user_id];55 $cache_userdata[$cache_userdata[$user_id]->user_login] =& $cache_userdata[$user_id]; 56 56 57 57 return $cache_userdata[$user_id];
Note: See TracChangeset
for help on using the changeset viewer.