buddypress/tests/phpunit
Mathieu Viet 939db2b68b Improve the favorites management using the WP Meta API
- Introduce `bp_activity_register_user_favorites_meta()` to register the user meta and define sanitization callback.
- Introduce `bp_activity_sanitize_user_favorites_meta()` to do the sanitization job.
- Improve Ajax callbacks about favoriting/unfavoriting activities in template packs.

Props emaralive, dcavins

Fixes #9021
Closes https://github.com/buddypress/buddypress/pull/189



git-svn-id: https://buddypress.svn.wordpress.org/trunk@13636 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2023-11-07 22:41:34 +00:00
..
assets Improve BP_Component methods relative to setting BP Rewrites 2023-02-15 10:23:05 +00:00
includes Stop using BP Legacy URL parser in favor of the new BP Rewrites API 2023-05-03 06:18:23 +00:00
testcases Improve the favorites management using the WP Meta API 2023-11-07 22:41:34 +00:00
bootstrap.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
codecoverage.xml Travis-CI: disable xdebug globally and switch travis:codecoverage to use xdebug instead of phpdbg. 2016-08-08 13:36:32 +00:00
env.multisite.xml Build/Test Tools: include @wordpress/env into BuddyPress 2020-08-30 17:53:06 +00:00
env.xml Build/Test Tools: include @wordpress/env into BuddyPress 2020-08-30 17:53:06 +00:00
multisite.xml Tests: Fix missing 'name' attribute warning for PHPUnit 7. 2020-06-16 04:34:24 +00:00