#8455 closed defect (bug) (fixed)
Fixes for xProfile field support for WordPress Profile Fields
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 8.0.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Extended Profile | Keywords: | has-patch commit |
| Cc: |
Description
This patch provides a couple of fixes for #7162:
- Skips caching existing data for an xProfile field when it is a WordPress field
- Fixes a minor bug where the empty item's
table_nameis cleared
Part 1 allows existing xProfile fields to be converted from textbox to wp-textbox format by ignoring any pre-existing values retrieved by the uncached data query.
This allows people using the BP XProfile WP User Sync plugin to simply change the xProfile field type and then deactivate it in favour of the new BuddyPress sync functionality. There will be orphaned field data left in the *_bp_xprofile_data table, but I think this is of little practical consequence since the field IDs are still in use.
Part 2, as the summary says, simply prevents the WordPress xProfile field table_name property from being cleared prior to priming the cache.
Patch for #8455