Opened 13 years ago
Closed 13 years ago
#17740 closed defect (bug) (fixed)
Make "Howdy" filterable
Reported by: | trepmal | Owned by: | ryan |
---|---|---|---|
Milestone: | 3.2 | Priority: | normal |
Severity: | minor | Version: | 3.2 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
Prior to 3.2, "Howdy" was filterable through the admin_user_info_links hook, but with new dropdown, it can no longer be filtered.
As much as I love Howdy, I think it makes sense that it should remain filterable.
Attachments (4)
Change History (11)
#3
@
13 years ago
Part of the reason I noticed "Howdy" wasn't filterable any more was that one of my plugins wasn't working fully when I put it through the 3.2 test
"Howdy Tweaks" Here's the source: http://plugins.trac.wordpress.org/browser/howdy-tweaks/trunk/howdy-greeting-tweaks.php
#4
@
13 years ago
sorry - realized I uploaded the wrong thing... twice
I'm still learning :) I'll fix it momentarily
#5
@
13 years ago
Howdy shouldn't have been linked in the first place for the dropdown, just the name.
Note: See
TracTickets for help on using
tickets.
Hmm.
I'm wondering if the Howdy part should become $links[0], then passed through the existing hook, then via array_shift() we remove the first value and use that as our Howdy.
Perhaps it should actually be $links[5], but we always splice $links[5] off and put it at the beginning. That way anyone previously filtering $links[5] would keep that, but if they added a link in 0-4, it wouldn't become the title of the dropdown.
Let's be as back compat as possible. Maybe someone can grep the plugins directory to see how it's currently being used to get an idea.