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

buddypress-trac noreply at wordpress.org
Wed Apr 20 19:26:00 UTC 2016


#6325: Route /me/*/ to /members/<me>/*/
------------------------------------+-----------------------
 Reporter:  DJPaul                  |       Owner:  DJPaul
     Type:  enhancement             |      Status:  assigned
 Priority:  normal                  |   Milestone:  2.6
Component:  API - Rewrite Rules     |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+-----------------------

Comment (by boonebgorges):

 Thanks for working on this, @r-a-y! A few questions.

 Why do we have to `exit` after `bp_core_no_access()`? That function always
 ends in `bp_core_redirect()`, which has a `die` in it. Can't we just do
 `add_action( 'template_redirect', 'bp_core_no_access' )`?

 Is there precedence for making `me` a translatable slug? It seems like it
 would be better UI if French installations got `moi` out of the box. This
 would require some sanitization, and there may be problems with character
 sets, and there might be potential conflicts with usernames in some
 languages, so maybe a terrible idea, but I wanted to raise it.

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


More information about the buddypress-trac mailing list