Changeset 12527 for trunk/src/bp-activity/bp-activity-embeds.php
- Timestamp:
- 01/18/2020 12:30:19 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-activity/bp-activity-embeds.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-embeds.php
r12264 r12527 101 101 $activity = reset( $activity ); 102 102 103 // No need to requery if we already got the embed activity 103 // No need to requery if we already got the embed activity. 104 104 if ( (int) $activity_id === $activity->id ) { 105 105 return $activities_template->has_activities(); … … 262 262 } 263 263 264 // Thumb width 264 // Thumb width. 265 265 $thumb_width = isset( $oembed->thumbnail_width ) && 'photo' !== $oembed->type && (int) $oembed->thumbnail_width < 550 ? (int) $oembed->thumbnail_width : $width; 266 266 … … 275 275 } 276 276 277 // Show description (non-oEmbed standard) 277 // Show description (non-oEmbed standard). 278 278 if ( isset( $oembed->description ) ) { 279 279 $caption .= sprintf( '<div class="caption-description">%s</div>', apply_filters( 'bp_activity_get_embed_excerpt', $oembed->description ) );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)