Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/18/2020 12:30:19 PM (7 years ago)
Author:
imath
Message:

Activity: fix PHP Code standards in inline comments

Props passoniate

Fixes #8207
Fixes #8208
Fixes #8209
Fixes #8210

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-embeds.php

    r12264 r12527  
    101101                $activity = reset( $activity );
    102102
    103                 // No need to requery if we already got the embed activity
     103                // No need to requery if we already got the embed activity.
    104104                if ( (int) $activity_id === $activity->id ) {
    105105                        return $activities_template->has_activities();
     
    262262                        }
    263263
    264                         // Thumb width
     264                        // Thumb width.
    265265                        $thumb_width = isset( $oembed->thumbnail_width ) && 'photo' !== $oembed->type && (int) $oembed->thumbnail_width < 550 ? (int) $oembed->thumbnail_width : $width;
    266266
     
    275275                        }
    276276
    277                         // Show description (non-oEmbed standard)
     277                        // Show description (non-oEmbed standard).
    278278                        if ( isset( $oembed->description ) ) {
    279279                                $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.