Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-includes/capabilities.php

    r10150 r10201  
    534534                $this->allcaps = array();
    535535                foreach ( (array) $this->roles as $role ) {
    536                         $role = $wp_roles->get_role( $role );
     536                        $role =& $wp_roles->get_role( $role );
    537537                        $this->allcaps = array_merge( $this->allcaps, $role->capabilities );
    538538                }
Note: See TracChangeset for help on using the changeset viewer.