add_role() fix from nielshackius. fixes #2298

git-svn-id: http://svn.automattic.com/wordpress/trunk@3482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-01-25 03:39:59 +00:00
parent 99385a2f18
commit 9cff7433a7
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ function add_role($role, $display_name, $capabilities = '') {
if ( ! isset($wp_roles) )
$wp_roles = new WP_Roles();
return $wp_roles->add_role($role, $display_name, $capabilities = '');
return $wp_roles->add_role($role, $display_name, $capabilities);
}
function remove_role($role) {