Opened 9 years ago
Closed 9 years ago
#7599 closed enhancement (fixed)
field id not passed to pre_validate_filter
| Reported by: | mechter | Owned by: | djpaul |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Extended Profile | Version: | 2.9.0 |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.