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

buddypress-trac noreply at wordpress.org
Wed May 8 13:31:03 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):

 Hi @imath Ha, my first thought about this was also to build a `BP_User`
 class that extends `WP_User`, then I decided to just stick to solving this
 specific problem, which is that the "loggedin_user" isn't persistent--it
 can change over the course of the WP load process.

 I definitely think adding a true `BP_User` would help standardize
 interactions/storage of all of the info that makes up a BP User, but it
 isn't a necessary step in solving this one weird problem. :)

 If we were to add `BP_User`, this class could become an extension of that
 class, and I'd be happy to work on `BP_User` for BP v15.

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


More information about the buddypress-trac mailing list