Changeset 8474
- Timestamp:
- 06/04/2014 04:46:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-activity.php
r8473 r8474 270 270 271 271 // Bail if activity is not active 272 if ( ! bp_is_active( 'activity' ) ) 272 if ( ! bp_is_active( 'activity' ) ) { 273 273 return false; 274 } 274 275 275 276 $defaults = array( … … 290 291 291 292 // Remove large images and replace them with just one image thumbnail 292 if ( !empty( $content ) ) 293 if ( ! empty( $content ) ) { 293 294 $content = bp_activity_thumbnail_content_images( $content, $primary_link, $r ); 294 295 if ( !empty( $action ) ) 295 } 296 297 if ( ! empty( $action ) ) { 296 298 $action = apply_filters( 'bp_blogs_record_activity_action', $action ); 297 298 if ( !empty( $content ) ) 299 } 300 301 if ( ! empty( $content ) ) { 299 302 $content = apply_filters( 'bp_blogs_record_activity_content', bp_create_excerpt( $content ), $content, $r ); 303 } 300 304 301 305 // Check for an existing entry and update if one exists.
Note: See TracChangeset
for help on using the changeset viewer.