Changeset 15919
- Timestamp:
- 10/22/2010 07:38:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r15891 r15919 606 606 foreach ( (array) $this->roles as $oldrole ) 607 607 unset( $this->caps[$oldrole] ); 608 609 if ( 1 == count( $this->roles ) && $role == $this->roles[0] ) 610 return; 611 608 612 if ( !empty( $role ) ) { 609 613 $this->caps[$role] = true;
Note: See TracChangeset
for help on using the changeset viewer.