Changeset 47848 for trunk/src/wp-includes/class-wp-user.php
- Timestamp:
- 05/23/2020 11:36:36 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-user.php
r47808 r47848 591 591 */ 592 592 public function set_role( $role ) { 593 if ( 1 == count( $this->roles ) && current( $this->roles ) == $role ) {593 if ( 1 === count( $this->roles ) && current( $this->roles ) == $role ) { 594 594 return; 595 595 }
Note: See TracChangeset
for help on using the changeset viewer.