[buddypress-trac] [BuddyPress Trac] #8617: Allow disabling avatar revisions in BuddyPress

buddypress-trac noreply at wordpress.org
Sun Jan 16 21:52:56 UTC 2022


#8617: Allow disabling avatar revisions in BuddyPress
-------------------------+-----------------------------
 Reporter:  sbrajesh     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Core         |    Version:
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------------
 Hi,
 !BuddyPress 10.0 introduces the features for avatar revisions and
 recycling. There is no option to turn this off currently.

 There are webmasters who don't need this enabled(I have been requested on
 our forums about the same). Is it possible to add a filter for the same.

 The following patch adds an filter where this feature is left enabled by
 default but can be disabled for individual types(user, group) or
 individual objects.

 It may be a good idea to add this test to other places. The patch works on
 the assumption that if there is no prior attachment version(that will be
 true for a new install), the recycle ui will not be visible. This is a
 shortcut and there may be a better implementation which takes in account
 the actual recycle UI(irrespective of avatar history).

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8617>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list