WordPress.org

Make WordPress Core

Ticket #17740: admin-header.3.diff

File admin-header.3.diff, 527 bytes (added by trepmal, 3 years ago)

keeps Howdy in the filterable $links array (and doesn't change other keys!)

  • wp-admin/admin-header.php

     
    151151 
    152152// Generate user profile and info links. 
    153153$howdy = sprintf( __('Howdy, %1$s'), $user_identity ); 
     154$howdy = apply_filters( 'admin_user_greeting', $howdy, $user_identity ); 
     155 
    154156$links = array(); 
    155157 
    156158$links[5] = '<a href="profile.php" title="' . esc_attr__('Edit your profile') . '">' . __('Your Profile') . '</a>';