[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:31:56 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:"13176" 13176]:
 {{{
 #!CommitTicketReference repository="" revision="13176"
 Introduce 2 functions to get an avatar version and the avatars history

 - `bp_avatar_get_version()` can be used to get a version of an avatar
 according to its timestamp. Since [13175] the `BP_Attachment_Avatar` class
 is using a timestamp inside the avatar file name instead of a generated
 unique string (`uniqid()`), this change allows us to request avatars
 according to the timestamp included into their names.
 - `bp_avatar_get_avatars_history()` can be used to get the file objects
 list of previously uploaded avatars.

 Props vapvarun, oztaser

 See #8581
 }}}

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


More information about the buddypress-trac mailing list