Changeset 11019
- Timestamp:
- 04/20/2009 08:03:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r10874 r11019 535 535 foreach ( (array) $this->roles as $role ) { 536 536 $role =& $wp_roles->get_role( $role ); 537 $this->allcaps = array_merge( $this->allcaps,$role->capabilities );538 } 539 $this->allcaps = array_merge( $this->allcaps,$this->caps );537 $this->allcaps = array_merge( (array) $this->allcaps, (array) $role->capabilities ); 538 } 539 $this->allcaps = array_merge( (array) $this->allcaps, (array) $this->caps ); 540 540 } 541 541
Note: See TracChangeset
for help on using the changeset viewer.