[buddypress-trac] [BuddyPress Trac] #6325: Route /me/*/ to /members/<me>/*/
buddypress-trac
noreply at wordpress.org
Wed Apr 20 19:48:42 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 r-a-y):
> Can't we just do `add_action( 'template_redirect', 'bp_core_no_access'
)`?
Complete oversight on my part. You're absolutely correct!
> Is there precedence for making me a translatable slug?
A valid concern. I didn't make it translatable initially for that very
reason.
We could probably make it a translatable slug, but use `rawurlencode()`
afterwards to ensure accents and the like will work well when used in the
URL. Will do some testing and try and write some unit tests with accents
as characters.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6325#comment:24>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list