[buddypress-trac] [BuddyPress Trac] #8581: Extending no content activities with images and call of actions

buddypress-trac noreply at wordpress.org
Sat Dec 11 12:00:23 UTC 2021


#8581: Extending no content activities with images and call of actions
-----------------------------+---------------------
 Reporter:  vapvarun         |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  10.0.0
Component:  Activity         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+---------------------

Comment (by imath):

 In [changeset:"13175" 13175]:
 {{{
 #!CommitTicketReference repository="" revision="13175"
 Introduce a new method to the BP Attachment API to add file revisions

 The `BP_Attachment::add_revision()` method is primarily used by the
 `BP_Attachment_Avatar` class to keep the history of previously uploaded
 user avatars (and potentially other objects avatar).

 When a user uploads a new avatar, the previously uploaded one is moved
 inside an `history` subdirectory of the user's avatar directory. This
 avatars history is then available for the `new_avatar` activities to
 display the avatar the user had at the time these were published.

 Props vapvarun, oztaser

 See #8581
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8581#comment:31>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list