Attachments (2)
Change History (11)
#3
follow-up:
↓ 4
@
16 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
@
16 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.
13 years ago
Note:
See TracTickets
for help on using tickets.
And it should be renamed from $user to $user_id, for clarity. Generally $user is a WP_User object.