mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Fix notice. Props jeremyclarke. see #8764
git-svn-id: http://svn.automattic.com/wordpress/trunk@10324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cb38e921dc
commit
67bf900a02
@ -257,11 +257,10 @@ wp_dropdown_roles($user_role);
|
||||
|
||||
// print the 'no role' option. Make it selected if the user has no role yet.
|
||||
if ( $user_role )
|
||||
$role_list .= '<option value="">' . __('— No role for this blog —') . '</option>';
|
||||
echo '<option value="">' . __('— No role for this blog —') . '</option>';
|
||||
else
|
||||
$role_list .= '<option value="" selected="selected">' . __('— No role for this blog —') . '</option>';
|
||||
|
||||
echo $role_list;?>
|
||||
echo '<option value="" selected="selected">' . __('— No role for this blog —') . '</option>';
|
||||
?>
|
||||
</select></td></tr>
|
||||
<?php endif; //!$is_profile_page ?>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user