Remove obsolete TODO.

Props wonderboymusic
fixes #11635


git-svn-id: https://develop.svn.wordpress.org/trunk@24247 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2013-05-14 12:44:44 +00:00
parent fea88ce184
commit 9f3b5a4c4b

View File

@ -250,7 +250,6 @@ if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?>
<td><select name="role" id="role">
<?php
// Compare user role against currently editable roles
// TODO: create a function that does this: wp_get_user_role()
$user_roles = array_intersect( array_values( $profileuser->roles ), array_keys( get_editable_roles() ) );
$user_role = array_shift( $user_roles );