Remove obsolete TODO.

Props wonderboymusic
fixes #11635


git-svn-id: http://core.svn.wordpress.org/trunk@24247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren 2013-05-14 12:44:44 +00:00
parent 66472f11a0
commit 5a15e5364d

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 );