#2996 closed defect (bug) (fixed)
XProfile Tabs lack filter
Reported by: | sushkov | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | 1.2.6 | |
Component: | Extended Profile | Keywords: | xprofile_profile_group_tabs, filter |
Cc: | hugoashmore@… |
Description
In [branches/1.2/bp-xprofile/bp-xprofile-templatetags.php#L590]
do_action( 'xprofile_profile_group_tabs' );
should be a filter in order to be able to manipulate data.
I can't change nor hide xprofile group tabs currently.
Thanks.
Change History (9)
#4
@
14 years ago
- Cc hugoashmore@… added
- Resolution fixed deleted
- Status changed from closed to reopened
- Type changed from enhancement to defect
Sadly this enhancement introduces errors, for every valid group field there is generated an extra empty LI element, tried to pin it down but out of time, looks like the $i incremental is adding + 1 to each 'foreach' looped item.
I reverted the change manually and the issue is resolved.
#6
@
14 years ago
Yep literally:
one for each genuine li element as I said above likely the way you re-factored things and the incrementing, check it on one of your test installs, don't think I'm going mad :)
http://trac.buddypress.org/browser/branches/1.2/bp-xprofile/bp-xprofile-templatetags.php#L590
Direct link to the file.