Ticket #24962: 24962.patch
File 24962.patch, 640 bytes (added by , 11 years ago) |
---|
-
wp-includes/capabilities.php
732 732 * @since 2.0.0 733 733 * @uses $wp_roles 734 734 * @access public 735 * 736 * @return Array list with all capabilities for the user. 735 737 */ 736 738 function get_role_caps() { 737 739 global $wp_roles; … … 750 752 $this->allcaps = array_merge( (array) $this->allcaps, (array) $the_role->capabilities ); 751 753 } 752 754 $this->allcaps = array_merge( (array) $this->allcaps, (array) $this->caps ); 755 756 return $this->allcaps; 753 757 } 754 758 755 759 /**