[wp-trac] [WordPress Trac] #16686: $user argument of get_edit_profile_url() should be optional

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 27 09:48:20 UTC 2011


#16686: $user argument of get_edit_profile_url() should be optional
-------------------------+-----------------------------
 Reporter:  nacin        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:  3.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------

Comment (by garyc40):

 Replying to [comment:3 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16686#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list