buddypress/tests/phpunit/testcases
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
..
activity Improve the favorites management using the WP Meta API 2023-11-07 22:41:34 +00:00
admin Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
blogs Improve PHP 8.2 compatibility 2023-02-10 03:12:09 +00:00
core Prevent potential 3rd party plugins/themes issues for new installs 2023-11-05 07:32:10 +00:00
friends Improve comparison consistency in BP_Friends_Friendship 2023-02-23 00:04:36 +00:00
groups Clear the Groups cache incrementor after a group member removal 2023-10-11 02:09:00 +00:00
members Make more BuddyPress generated links ready for BP Rewrites 2023-03-15 08:16:46 +00:00
messages Improve PHP 8.2 compatibility 2023-02-10 03:12:09 +00:00
notifications Improve PHP 8.2 compatibility 2023-02-10 03:12:09 +00:00
routing Fully deprecate bp_nav & bp_options_nav BP globals 2023-06-25 17:18:41 +00:00
settings Improve sanitization of email notification settings. 2015-11-11 03:22:53 +00:00
testsuite Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
xprofile Prevent potential errors in bp_get_the_profile_field_ids() 2023-07-27 10:46:04 +00:00