Changeset 23360
- Timestamp:
- 01/31/2013 01:39:08 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/admin-bar.php
r22908 r23360 175 175 $user_info .= "<span class='display-name'>{$current_user->display_name}</span>"; 176 176 177 if ( $current_user->display_name !== $current_user->user_ nicename)178 $user_info .= "<span class='username'>{$current_user->user_ nicename}</span>";177 if ( $current_user->display_name !== $current_user->user_login ) 178 $user_info .= "<span class='username'>{$current_user->user_login}</span>"; 179 179 180 180 $wp_admin_bar->add_menu( array(
Note: See TracChangeset
for help on using the changeset viewer.