mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-05-31 05:04:29 +08:00
Data was being deleted in bulk using a direct SQL query, bypassing the `xprofile_data_before_delete` and `xprofile_data_after_delete` actions, resulting in stale data persisting in the xprofile cache. This change uses `xprofile_delete_field_data()` to delete the user's data so that the action hooks are called. Props dd32, r-a-y, imath. Fixes #8388. git-svn-id: https://buddypress.svn.wordpress.org/trunk@12781 cdf35c40-ae34-48e0-9cc9-0c9da1808c22 |
||
|---|---|---|
| .. | ||
| phpunit | ||