Changeset 18232
- Timestamp:
- 06/10/2011 04:40:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r18125 r18232 150 150 do_action('in_admin_header'); 151 151 152 $links = array(); 153 152 154 // Generate user profile and info links. 153 $howdy = sprintf( __('Howdy, %1$s'), $user_identity ); 154 $links = array(); 155 156 $links[5] = '<a href="profile.php" title="' . esc_attr__('Edit your profile') . '">' . __('Your Profile') . '</a>'; 155 $links[5] = sprintf( __('Howdy, %1$s'), $user_identity ); 156 157 $links[8] = '<a href="profile.php" title="' . esc_attr__('Edit your profile') . '">' . __('Your Profile') . '</a>'; 157 158 158 159 if ( is_multisite() && is_super_admin() ) { … … 170 171 // Trim whitespace and pipes from links, then convert to list items. 171 172 $links = array_map( 'trim', $links, array_fill( 0, count( $links ), " |\n\t" ) ); 173 174 $howdy = array_shift( $links ); 172 175 173 176 $links_no_js = implode( ' | ', $links );
Note: See TracChangeset
for help on using the changeset viewer.