Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/29/2020 07:08:55 PM (6 years ago)
Author:
imath
Message:

Activity: fix PHP code standards in inline comments

Props passoniate

Fixes #8221

File:
1 edited

Legend:

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

    r12527 r12542  
    523523    }
    524524
    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.
    526526    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.
    528528        $post_type_activity->comments_tracking = new stdClass();
    529529
    530         // Build the activity type for comments
     530        // Build the activity type for comments.
    531531        $post_type_activity->comments_tracking->component_id = $post_type_activity->component_id;
    532532        $post_type_activity->comments_tracking->action_id    = $post_type_activity->comment_action_id;
     
    17891789        'per_page'          => false,      // Results per page.
    17901790        'show_hidden'       => true,       // When fetching specific items, show all.
    1791         'sort'              => 'DESC',     // Sort ASC or DESC
     1791        'sort'              => 'DESC',     // Sort ASC or DESC.
    17921792        'spam'              => 'ham_only', // Retrieve items marked as spam.
    17931793        'update_meta_cache' => true,
Note: See TracChangeset for help on using the changeset viewer.