[buddypress-trac] [BuddyPress Trac] #7658: User is de-authenticated when making REST API request

buddypress-trac noreply at wordpress.org
Mon Jun 3 17:30:30 UTC 2024


#7658: User is de-authenticated when making REST API request
--------------------------+---------------------
 Reporter:  dcavins       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  14.0.0
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+---------------------

Comment (by dcavins):

 I'm not sure we have decided that we are doing this, but I've uploaded the
 current best version of this class in case we come back to it.

 In the new version, I'm handling "fullname" and "domain" in the class,
 also, which simplifies some logic throughout BP and in the tests. One
 change is that I'm supporting the situation where the admin has disabled
 BP-> WP profile sync--we used to do this but that logic appears to have
 been lost. (See `src/bp-xprofile/bp-xprofile-functions.php`
 `xprofile_override_user_fullnames()` where we're currently using
 `bp_core_get_user_displayname()` which in turn uses `get_the_author_meta(
 'display_name' )`, so the xprofile fullname field isn't used.)

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


More information about the buddypress-trac mailing list