[buddypress-trac] [BuddyPress Trac] #8306: Member url's fail when nicename is empty when using compatibility mode.

buddypress-trac noreply at wordpress.org
Sat May 23 14:47:12 UTC 2020


#8306: Member url's fail when nicename is empty when using compatibility mode.
--------------------------+------------------------------
 Reporter:  liammitchell  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:  6.0.0
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by liammitchell):

 To add some more info.

 The extension Restrict Usernames Emails Characters appears to be setting
 the nicename to empty string when a user makes a checkout via woocommerce.
 https://wordpress.org/support/topic/buddypress-with-username-
 compatibility-mode/

 Not 100% on this however.


 Replying to [ticket:8306 liammitchell]:
 > Fallback to lower(user_login) when nicename is empty string?
 >
 > Additionally if iThemes security suggest putting
 >
 >
 > {{{
 > define('BP_ENABLE_USERNAME_COMPATIBILITY_MODE', false);
 > }}}
 > in the wp-config.php if using the user_nicename must not be the same as
 user_id feature.
 >
 > This was happening in a version prior to 6, 4.4.0 I updated to 6 to see
 if it would fix it but it was still present.
 >
 > Additionally without the compatibility mode enabled, urls seemed to fail
 when nicename is different to user_login.
 >
 > members/me was giving blank page content or a 404 depending on the url.
 > Theme used did not appear to matter.

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


More information about the buddypress-trac mailing list