[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:08:13 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 nacin):

 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().

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


More information about the wp-trac mailing list