Remove inaccurate @return value from remove_role(). props tivnet. fixes #25450.

Built from https://develop.svn.wordpress.org/trunk@25653


git-svn-id: http://core.svn.wordpress.org/trunk@25570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-10-01 02:53:11 +00:00
parent ddd4473714
commit 8bda461ca9
1 changed files with 1 additions and 2 deletions

View File

@ -1407,7 +1407,6 @@ function add_role( $role, $display_name, $capabilities = array() ) {
* @since 2.0.0
*
* @param string $role Role name.
* @return null
*/
function remove_role( $role ) {
global $wp_roles;
@ -1415,7 +1414,7 @@ function remove_role( $role ) {
if ( ! isset( $wp_roles ) )
$wp_roles = new WP_Roles();
return $wp_roles->remove_role( $role );
$wp_roles->remove_role( $role );
}
/**