Changeset 12542
- Timestamp:
- 01/29/2020 07:08:55 PM (5 years ago)
- Location:
- trunk/src/bp-activity
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-admin.php
r12527 r12542 357 357 } 358 358 359 // Initiali se counters for how many of each type of item we perform an action on.359 // Initialize counters for how many of each type of item we perform an action on. 360 360 $deleted = $spammed = $unspammed = 0; 361 361 -
trunk/src/bp-activity/bp-activity-embeds.php
r12527 r12542 235 235 236 236 /* Non-oEmbed standard attributes */ 237 // Mixcloud 237 // Mixcloud. 238 238 } elseif ( isset( $oembed->image ) ) { 239 239 $thumbnail = $oembed->image; 240 // ReverbNation 240 // ReverbNation. 241 241 } elseif ( isset( $oembed->{'thumbnail-url'} ) ) { 242 242 $thumbnail = $oembed->{'thumbnail-url'}; -
trunk/src/bp-activity/bp-activity-filters.php
r12416 r12542 616 616 $heartbeat_settings = apply_filters( 'heartbeat_settings', array() ); 617 617 if ( ! empty( $heartbeat_settings['interval'] ) ) { 618 // 'Fast' is 5 618 // 'Fast' is 5. 619 619 $global_pulse = is_numeric( $heartbeat_settings['interval'] ) ? absint( $heartbeat_settings['interval'] ) : 5; 620 620 } -
trunk/src/bp-activity/bp-activity-functions.php
r12527 r12542 523 523 } 524 524 525 // If the post type supports comments and has a comment action id, build the comments tracking args 525 // If the post type supports comments and has a comment action id, build the comments tracking args. 526 526 if ( $post_type_support_comments && ! empty( $post_type_activity->comment_action_id ) ) { 527 // Init a new container for the activity type for comments 527 // Init a new container for the activity type for comments. 528 528 $post_type_activity->comments_tracking = new stdClass(); 529 529 530 // Build the activity type for comments 530 // Build the activity type for comments. 531 531 $post_type_activity->comments_tracking->component_id = $post_type_activity->component_id; 532 532 $post_type_activity->comments_tracking->action_id = $post_type_activity->comment_action_id; … … 1789 1789 'per_page' => false, // Results per page. 1790 1790 'show_hidden' => true, // When fetching specific items, show all. 1791 'sort' => 'DESC', // Sort ASC or DESC 1791 'sort' => 'DESC', // Sort ASC or DESC. 1792 1792 'spam' => 'ham_only', // Retrieve items marked as spam. 1793 1793 'update_meta_cache' => true, -
trunk/src/bp-activity/classes/class-bp-activity-component.php
r12463 r12542 72 72 } 73 73 74 // Embeds 74 // Embeds. 75 75 if ( bp_is_active( $this->id, 'embeds' ) ) { 76 76 $includes[] = 'embeds'; -
trunk/src/bp-activity/classes/class-bp-activity-list-table.php
r12395 r12542 125 125 126 126 if ( ! empty( $has_filter_query['filter_query'] ) ) { 127 // Reset the filter 127 // Reset the filter. 128 128 $filter = array(); 129 129 130 // And use the filter query instead 130 // And use the filter query instead. 131 131 $filter_query = $has_filter_query['filter_query']; 132 132 }
Note: See TracChangeset
for help on using the changeset viewer.