diff --git a/wp-includes/capabilities.php b/wp-includes/capabilities.php index 446264ec1e..86b3d85574 100644 --- a/wp-includes/capabilities.php +++ b/wp-includes/capabilities.php @@ -205,7 +205,7 @@ class WP_Roles { * @param string $role Role name. * @return object|null Null, if role does not exist. WP_Role object, if found. */ - function &get_role( $role ) { + function get_role( $role ) { if ( isset( $this->role_objects[$role] ) ) return $this->role_objects[$role]; else