Opened 11 years ago
Closed 10 years ago
#5345 closed defect (bug) (fixed)
WordPress Show Avatars settings and Avatar in Group Component
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 1.0 |
Component: | Groups | 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
@
11 years ago
- Keywords needs-refresh added; 2nd-opinion removed
- Milestone changed from Awaiting Review to 2.1
- Version changed from 1.9.1 to 1.0
Moving to 2.1 to finish up the patch for this new switch to work across all components.
#3
@
10 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.
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?