WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/30/2012 09:54:33 PM (8 years ago)
Author:
azaozz
Message:

Do not clear the old values in "Display name publicly as" drop-down on the user profile screen, append new values there when the user changes any of20747 the name fields, fixes #20747

File:
1 edited

Legend:

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

    r20196 r20964  
    320320            foreach ( $public_display as $id => $item ) {
    321321        ?>
    322             <option id="<?php echo $id; ?>"<?php selected( $profileuser->display_name, $item ); ?>><?php echo $item; ?></option>
     322            <option <?php selected( $profileuser->display_name, $item ); ?>><?php echo $item; ?></option>
    323323        <?php
    324324            }
Note: See TracChangeset for help on using the changeset viewer.