Attachments (2)
Change History (11)
#3
follow-up:
↓ 4
@
15 years ago
Looking at it further, the same treatment can probably be applied to get_dashboard_url(), in fact we can just put the logic there, and pass $user_id = 0 right into get_dashboard_url().
#4
in reply to: ↑ 3
@
15 years ago
Replying to nacin:
in fact we can just put the logic there, and pass $user_id = 0 right into get_dashboard_url().
That is possible, but the $user_id passed into edit_profile_url filter would be 0 instead of an actual ID.
This ticket was mentioned in IRC in #wordpress-dev by svn-b42. View the logs.
12 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
And it should be renamed from $user to $user_id, for clarity. Generally $user is a WP_User object.