[buddypress-trac] [BuddyPress Trac] #8568: The xProfile "Name" Field

buddypress-trac noreply at wordpress.org
Tue Sep 14 14:03:01 UTC 2021


#8568: The xProfile "Name" Field
------------------------------+-----------------------------
 Reporter:  needle            |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Extended Profile  |    Version:
 Severity:  normal            |   Keywords:
------------------------------+-----------------------------
 This is a follow-up to #7162, where @imath said:

 > The Name field is something we'll probably need to talk about in the
 future. For 8.0.0, if it's generating some confusion we can eventually
 rename it for something more like "Display name". But I believe this
 should be discussed/fixed in another ticket because we are not using these
 new Profile types to generate it.

 So I'm opening this ticket because the way that the xProfile "Name" Field
 syncs with the WordPress User Fields ''still'' confuses me...

 Currently, it seems to be the case that:

 * When editing the content of the xProfile "Name" Field, BuddyPress syncs
 to ''both'' the WordPress User "Nickname" Field ''and'' the "Display Name"
 Field.
 * When only the WordPress User "Nickname" Field is changed, the xProfile
 "Name" Field is not updated.
 * When only the WordPress User "Display Name" is changed, the xProfile
 "Name" Field is updated.

 This asymmetrical sync can result in strange behaviour when ''just'' the
 WordPress user "Display Name" Field is changed in WordPress admin -
 because resaving the xProfile "Name" Field then ''overwrites'' the
 WordPress User "Nickname" Field.

 I don't have a clear idea of what the expected behaviour should be - hence
 this ticket.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8568>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list