[buddypress-trac] [BuddyPress Trac] #6177: Improve representation of blog posts in the Activity Stream

buddypress-trac noreply at wordpress.org
Sat Mar 14 16:24:54 UTC 2015


#6177: Improve representation of blog posts in the Activity Stream
----------------------------------+-----------------------
 Reporter:  DJPaul                |       Owner:  DJPaul
     Type:  enhancement           |      Status:  accepted
 Priority:  normal                |   Milestone:  2.3
Component:  Component - Activity  |     Version:
 Severity:  normal                |  Resolution:
 Keywords:  has-patch             |
----------------------------------+-----------------------
Changes (by DJPaul):

 * keywords:  2nd-opinion => has-patch


Comment:

 > I think bp_activity_create_summary() can be tweaked... Featured images
 and galleries are really only WP things

 Agreed with featured images, but not galleries. The gallery shortcode
 could conceivably be used in any context.

 > bp_activity_create_summary() can be tweaked so we do not search for
 featured images and galleries... (they) are really only WP things, so we
 should only attempt these types of extractions if the activity type is a
 blog post or custom post type.

 We already do. At the moment, we only use `bp_activity_create_summary` for
 blog posts and custom post types; see  `bp_activity_post_type_publish`,
 `bp_activity_post_type_update`, and `bp_blogs_record_activity`.

 If in future iterations (be it in later release or subsequent changes in
 2.3) we use  `bp_activity_create_summary` for more types of activity item
 (status updates, for example), then yes, appropriate adjustments, such as
 what you describe, would need to be made.

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


More information about the buddypress-trac mailing list