add_role(), capabilties.php typo otherwise plugins might not work as expected
|Reported by:||nielshackius||Owned by:||anonymous|
|Severity:||normal||Keywords:||add_role, capabilties.php, plugin bg|has-patch bg|commit|
in line 325
return $wp_roles->add_role($role, $display_name, $capabilities = '');
but really should be, since capabilties is really set locally by the functions
return $wp_roles->add_role($role, $display_name, $capabilities);
If not: The third argument of add_role won't work as expected.