mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-23 00:31:28 +01:00
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:
parent
66472f11a0
commit
5a15e5364d
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user