[buddypress-trac] [BuddyPress] #4216: bp_core_redirect ignores spaces in user domains.

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Jun 12 12:15:37 UTC 2012


#4216: bp_core_redirect ignores spaces in user domains.
-------------------------------+--------------------
 Reporter:  DennisSmolek       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  1.6
Component:  Messaging          |     Version:  1.5.5
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+--------------------

Comment (by boonebgorges):

 If you are using `wp_insert_user()`, then you will never have a nicename
 like 'John E Doe'. In the two links to the WP codebase I showed you above,
 you can see that it would be converted to something like 'john-e-doe', or,
 in the case where there was already a 'john-e-doe', it'd be
 'john-e-doe-2'. If you're seeing things like 'John E Doe' in your wp_users
 table, then either you're incorrect that it's using `wp_insert_user()`, or
 you've got a plugin that is messing with the insert-user process (maybe
 something hooked to 'user_register').

 Switching to numeric user_nicenames would work fine, but before you
 implement that workaround, it'd be really nice to know what's at the root
 of your problem.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4216#comment:8>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list