#2996 closed defect (bug) (fixed)
XProfile Tabs lack filter
| Reported by: | sushkov | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5 |
| Component: | Extended Profile | Version: | 1.2.6 |
| Severity: | 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
@
15 years ago
- Cc added
- Resolution fixed
- Status closed → reopened
- Type enhancement → defect
Sadly this fix 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
@
15 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 :)
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
http://trac.buddypress.org/browser/branches/1.2/bp-xprofile/bp-xprofile-templatetags.php#L590
Direct link to the file.