Changeset 18956
- Timestamp:
- 10/12/2011 08:41:06 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r18909 r18956 666 666 $this->allcaps = array(); 667 667 foreach ( (array) $this->roles as $role ) { 668 $the_role = &$wp_roles->get_role( $role );668 $the_role = $wp_roles->get_role( $role ); 669 669 $this->allcaps = array_merge( (array) $this->allcaps, (array) $the_role->capabilities ); 670 670 }
Note: See TracChangeset
for help on using the changeset viewer.