[buddypress-trac] [BuddyPress Trac] #6325: Route /me/*/ to /members/<me>/*/

buddypress-trac noreply at wordpress.org
Thu May 19 18:04:48 UTC 2016


#6325: Route /me/*/ to /members/<me>/*/
------------------------------------+---------------------
 Reporter:  DJPaul                  |       Owner:  DJPaul
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:  2.6
Component:  API - Rewrite Rules     |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  dev-feedback has-patch  |
------------------------------------+---------------------
Changes (by r-a-y):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"10791"]:
 {{{
 #!CommitTicketReference repository="" revision="10791"
 URI: Support members shortlink redirection.

 This commit redirects `/members/me/*` to `/members/LOGGEDIN_USER_SLUG/*`.
 If root profiles is enabled, then this redirects `/me/*` to
 `/LOGGEDIN_USER_SLUG/*`.  If a user is logged out, `/me/` redirects to the
 login page and when properly authenticated, will redirect back to the
 logged-in user's page.

 This will allow devs to create dynamic links to a user's profile, which is
 useful for all sorts of things -- nav menus, support links, etc.

 Props r-a-y, dcavins.

 Fixes #6325.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6325#comment:31>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list