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/functions
Mathieu Viet ae2c68f2a3 Make sure BP directory page IDs are not wrongly unset on multisite
In case a post of a different site of the multisite network has the same ID than one of the BP directory page IDs, the function can wrongly return an array in which the corresponding directory page ID is missing.

We need to make sure this function always run into the BP Root Blog context.

Props thomaslhotta

Fixes #8592



git-svn-id: https://buddypress.svn.wordpress.org/trunk@13159 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2021-12-04 14:53:34 +00:00
..
bpCoreGetDirectoryPageId.php Add @covers annotation for the bp_core_get_directory_page_id() tests 2021-04-19 05:42:55 +00:00
bpCoreGetDirectoryPageIds.php Make sure BP directory page IDs are not wrongly unset on multisite 2021-12-04 14:53:34 +00:00
bpGetRefererPath.php Improve AJAX referer determination during URI parsing. 2015-02-25 14:56:18 +00:00
bpVerifyNonceRequest.php General: Fix a couple of inline docs spelling mistakes. 2017-12-04 04:05:33 +00:00