Changeset 21866 for trunk/wp-includes/capabilities.php
- Timestamp:
- 09/16/2012 04:24:33 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r21563 r21866 787 787 unset( $this->caps[$oldrole] ); 788 788 789 if ( 1 == count( $this->roles ) && $role == $this->roles[0])789 if ( 1 == count( $this->roles ) && $role == current( $this->roles ) ) 790 790 return; 791 791
Note: See TracChangeset
for help on using the changeset viewer.