Opened 10 years ago
Closed 9 years ago
#6548 closed defect (bug)
Add filter to shortcut xprofile_filter_link_profile_data early
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Extended Profile | Keywords: | good-first-bug |
Cc: |
Description
xprofile_filter_link_profile_data() auto-links xprofile field data to the search. It's hardcoded to not link date fields. It's not filtered, so you can't add more exclusions.
At the very least, a filter should be added to the short circuit mechanism for 2.4, and if anyone wants to spend more time on it, we should consider adding a property to the field type class that controls this behaviour.
Pretty sure we have at least a couple of tickets about how fun this auto-linking behaviour is, so maybe this is a duplicate if we can find it again.
I'll probably visit this next cycle; want to look into adding UI to control if a field should be auto-linked or not.