1
0
Fork 0
mirror of https://github.com/buddypress/buddypress.git synced 2026-07-23 21:06:56 +08:00
buddypress/tests/phpunit/testcases/notifications
Renato Alves f15348c102 A user is no longer de-authenticated when making REST API requests.
We are introducing a new `BP_LoggedIn_User` class to fetch data about a BuddyPress logged-in user. This new addition fixes an issue where a user could be de-authenticated when making REST API requests.

Props dcavins, DJPaul, johnjamesjacoby, and imath.

Closes https://github.com/buddypress/buddypress/pull/395
See #9229 and #9145
Fixes #7658

git-svn-id: https://buddypress.svn.wordpress.org/trunk@14070 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2024-11-03 18:19:06 +00:00
..
cache.php Clear the user notification cache when bulk marking as unread items 2022-02-25 13:37:47 +00:00
class-bp-notifications-notification.php Notifications: returns the proper items when using the argument. 2023-01-07 01:09:00 +00:00
class-bp-notifications-template.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
functions.php Improve PHP 8.2 compatibility 2023-02-10 03:12:09 +00:00
template.php Don't create a current user by default in most unit tests. 2015-02-27 03:00:42 +00:00
test-controller.php A user is no longer de-authenticated when making REST API requests. 2024-11-03 18:19:06 +00:00