Ticket #18237: 18237.diff
| File 18237.diff, 501 bytes (added by , 14 years ago) |
|---|
-
wp-includes/capabilities.php
205 205 * @param string $role Role name. 206 206 * @return object|null Null, if role does not exist. WP_Role object, if found. 207 207 */ 208 function &get_role( $role ) {208 function get_role( $role ) { 209 209 if ( isset( $this->role_objects[$role] ) ) 210 210 return $this->role_objects[$role]; 211 211 else