Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 9 years ago

#6548 closed defect (bug)

Add filter to shortcut xprofile_filter_link_profile_data early

Reported by: djpaul's profile DJPaul 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.

Change History (2)

#1 @DJPaul
9 years ago

  • Milestone changed from 2.4 to 2.5

I'll probably visit this next cycle; want to look into adding UI to control if a field should be auto-linked or not.

#2 @DJPaul
9 years ago

  • Milestone 2.5 deleted
  • Status changed from new to closed

Closing in favour of #787

Note: See TracTickets for help on using tickets.