Changeset 2851
- Timestamp:
- 09/08/2005 08:39:37 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r2793 r2851 190 190 191 191 function remove_cap($cap) { 192 if ( empty($this-> roles[$cap]) ) return;192 if ( empty($this->caps[$cap]) ) return; 193 193 unset($this->caps[$cap]); 194 194 update_usermeta($this->id, $this->cap_key, $this->caps);
Note: See TracChangeset
for help on using the changeset viewer.