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/core
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
..
functions Unit Tests: Conducted a thorough review of existing unit tests files and improved them to ensure robustness. 2024-07-27 16:30:23 +00:00
nav A user is no longer de-authenticated when making REST API requests. 2024-11-03 18:19:06 +00:00
template A user is no longer de-authenticated when making REST API requests. 2024-11-03 18:19:06 +00:00
attachments.php Attachments: introduce a new function to retrieve a media mime type 2022-03-15 23:21:26 +00:00
avatars.php Update stable tag to 14.2.1 and apply 14.2.1 security fix (trunk) 2024-10-22 23:04:18 +00:00
bp-rest-api.php Include the V2 of the BP REST API in BuddyPress core. 2024-09-27 21:11:27 +00:00
cache.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
caps.php A user is no longer de-authenticated when making REST API requests. 2024-11-03 18:19:06 +00:00
class-bp-attachment.php Unit Tests: Conducted a thorough review of existing unit tests files and improved them to ensure robustness. 2024-07-27 16:30:23 +00:00
class-bp-button.php A user is no longer de-authenticated when making REST API requests. 2024-11-03 18:19:06 +00:00
class-bp-component.php Include the V2 of the BP REST API in BuddyPress core. 2024-09-27 21:11:27 +00:00
class-bp-core-user.php Members: stop mirroring user last_activity data to user metadata 2020-10-15 18:33:17 +00:00
class-bp-email-recipient.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
class-bp-email.php Unit Tests: Conducted a thorough review of existing unit tests files and improved them to ensure robustness. 2024-07-27 16:30:23 +00:00
class-bp-media-extractor.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
class-bp-user-query.php A user is no longer de-authenticated when making REST API requests. 2024-11-03 18:19:06 +00:00
class-bp-walker-nav-menu.php A user is no longer de-authenticated when making REST API requests. 2024-11-03 18:19:06 +00:00
community-visibility.php A user is no longer de-authenticated when making REST API requests. 2024-11-03 18:19:06 +00:00
filters.php Add Root component slugs to MS Subdirectory site reserved names 2020-03-15 05:30:13 +00:00
functions.php PHPUnit tests: improve the bp_attachments_get_allowed_types() test 2024-10-31 05:12:29 +00:00
invitations.php A user is no longer de-authenticated when making REST API requests. 2024-11-03 18:19:06 +00:00
optouts.php A user is no longer de-authenticated when making REST API requests. 2024-11-03 18:19:06 +00:00
rewrites.php BP Rewrites: introduce the bp_rewrites_get_url() function 2023-03-01 08:17:11 +00:00
suggestions-nonauth.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
suggestions.php A user is no longer de-authenticated when making REST API requests. 2024-11-03 18:19:06 +00:00
templateLoader.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
test-components-controller.php A user is no longer de-authenticated when making REST API requests. 2024-11-03 18:19:06 +00:00
themeCompatibility.php Introduce theme support check for specific component features 2024-06-08 06:09:24 +00:00