Changeset 33967 for trunk/src/wp-includes/class-wp-user.php
- Timestamp:
- 09/09/2015 03:41:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-user.php
r33958 r33967 440 440 */ 441 441 public function add_role( $role ) { 442 if ( empty( $role ) ) { 443 return; 444 } 445 442 446 $this->caps[$role] = true; 443 447 update_user_meta( $this->ID, $this->cap_key, $this->caps );
Note: See TracChangeset
for help on using the changeset viewer.