Opened 13 years ago
Closed 12 years ago
#5345 closed defect (bug) (fixed)
WordPress Show Avatars settings and Avatar in Group Component
| Reported by: | imath | Owned by: | imath |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Groups | Version: | 1.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
If in WordPress Administration > discussion panel, the show avatars option is disabled, i think we should avoid to load the different areas that deal with group avatars, such as :
- the avatar creation step
- the admin > avatar subtab in the edit screen
- the links to go to the change avatar admin tab in WP Admin Bar
There's also a trouble with $groups_template->group->avatar_thumb in bp_get_group_avatar() function, in this case.
Attachments (2)
Change History (9)
#2
@
13 years ago
- Keywords needs-refresh added; 2nd-opinion removed
- Milestone Awaiting Review → 2.1
- Version 1.9.1 → 1.0
Moving to 2.1 to finish up the patch for this new switch to work across all components.
#3
@
12 years ago
I think it's ok for Members/xprofile component since r7747
5345.02.patch is a refresh version of initial patch for this ticket.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Yes, this makes sense, especially since all calls to
bp_core_fetch_avatar()will fail when avatar display is disabled in this way.Should we also be doing something similar for the xprofile component?