[buddypress-trac] [BuddyPress Trac] #8052: Suggestion for Activity Stream - link to Post

buddypress-trac noreply at wordpress.org
Mon Aug 22 20:09:26 UTC 2022


#8052: Suggestion for Activity Stream - link to Post
--------------------------+-----------------------
 Reporter:  bee360        |       Owner:  imath
     Type:  enhancement   |      Status:  reopened
 Priority:  normal        |   Milestone:  11.0.0
Component:  Blogs         |     Version:  4.1.0
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+-----------------------
Changes (by imath):

 * keywords:  ui-feedback good-first-bug has-patch => dev-feedback


Comment:

 Thanks for your feedback @teeboy4real. To be honest, I also thought about
 it but when I've looked at how we build this Post Link in
 `bp_blogs_format_activity_action_new_blog_post()` I've hesitated and I'm
 still doing so. The goal of these "format_activity" functions was to
 improve multilingual community sites as these are fired at run time
 (compared to having the action inside the activity db table). We currently
 use an activity meta to retrieve the post title for this link, this
 activity meta is updated each time the post is updated etc... So there's a
 lot of code involved there. I'm fine with making this move as it's
 precisely avoiding all this code and it should avoid some DB queries. But
 I'd like some other team members opinion about it as it's a wider change.

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


More information about the buddypress-trac mailing list