Ticket #9128: 9128.diff
File 9128.diff, 663 bytes (added by , 16 years ago) |
---|
-
wp-includes/capabilities.php
534 534 $this->allcaps = array(); 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 );537 $this->allcaps = array_merge( (array) $this->allcaps, (array) $role->capabilities ); 538 538 } 539 $this->allcaps = array_merge( $this->allcaps,$this->caps );539 $this->allcaps = array_merge( (array) $this->allcaps, (array) $this->caps ); 540 540 } 541 541 542 542 /**