Opened 8 years ago
Closed 8 years ago
#7599 closed enhancement (fixed)
field id not passed to pre_validate_filter
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.0 | Priority: | normal |
| Severity: | normal | Version: | 2.9.0 |
| Component: | Extended Profile | Keywords: | has-patch |
| Cc: |
Description
The field_id parameter introduced in [10203] isn't being passed by xprofile_filter_pre_validate_value_by_field_type to pre_validate_filter methods of field type objects.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Hey @mechter
Welcome to BuddyPress trac. Thanks for your tickets, I'm looking at them now. ❤️
For this one, I think I'm going to pass all the method arguments to the event. That's what I tend to do, as it gives another developer all the raw inputs to work with that the calling code did. I can't quickly see a good pattern or reason just to pass the ID.