Make WordPress Core

Changeset 10324


Ignore:
Timestamp:
01/06/2009 10:05:57 PM (16 years ago)
Author:
ryan
Message:

Fix notice. Props jeremyclarke. see #8764

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r10319 r10324  
    258258// print the 'no role' option. Make it selected if the user has no role yet.
    259259if ( $user_role )
    260     $role_list .= '<option value="">' . __('&mdash; No role for this blog &mdash;') . '</option>';
     260    echo '<option value="">' . __('&mdash; No role for this blog &mdash;') . '</option>';
    261261else
    262     $role_list .= '<option value="" selected="selected">' . __('&mdash; No role for this blog &mdash;') . '</option>';
    263 
    264 echo $role_list;?>
     262    echo '<option value="" selected="selected">' . __('&mdash; No role for this blog &mdash;') . '</option>';
     263?>
    265264</select></td></tr>
    266265<?php endif; //!$is_profile_page ?>
Note: See TracChangeset for help on using the changeset viewer.