Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/29/2020 09:43:16 PM (6 years ago)
Author:
imath
Message:

Core: fix PHP code standards & typos in inline comments

Props passoniate

Fixes #8225
Fixes #8226
Fixes #8227
Fixes #8228
Fixes #8229

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/deprecated/1.2.php

    r11447 r12547  
    2323
    2424        $defaults = array(
    25                 'max' => false, // Maximum number of results to return
    26                 'page' => 1, // page 1 without a per_page will result in no pagination.
    27                 'per_page' => false, // results per page
    28                 'sort' => 'DESC', // sort ASC or DESC
    29                 'display_comments' => false, // false for no comments. 'stream' for within stream display, 'threaded' for below each activity item
     25                'max'              => false,  // Maximum number of results to return.
     26                'page'             => 1,      // Page 1 without a per_page will result in no pagination.
     27                'per_page'         => false,  // Results per page.
     28                'sort'             => 'DESC', // Sort ASC or DESC.
     29                'display_comments' => false,  // False for no comments. 'stream' for within stream display, 'threaded' for below each activity item.
    3030
    31                 'search_terms' => false, // Pass search terms as a string
    32                 'show_hidden' => false, // Show activity items that are hidden site-wide?
     31                'search_terms'     => false,  // Pass search terms as a string.
     32                'show_hidden'      => false, // Show activity items that are hidden site-wide?
    3333
    3434                /**
    3535                 * Pass filters as an array:
    3636                 * array(
    37                  *      'user_id' => false, // user_id to filter on
    38                  *      'object' => false, // object to filter on e.g. groups, profile, status, friends
    39                  *      'action' => false, // action to filter on e.g. new_wire_post, new_forum_post, profile_updated
    40                  *      'primary_id' => false, // object ID to filter on e.g. a group_id or forum_id or blog_id etc.
    41                  *      'secondary_id' => false, // secondary object ID to filter on e.g. a post_id
     37                 *      'user_id'      => false,  // user_id to filter on.
     38                 *      'object'       => false,  // Object to filter on e.g. groups, profile, status, friends.
     39                 *      'action'       => false,  // Action to filter on e.g. new_wire_post, new_forum_post, profile_updated.
     40                 *      'primary_id'   => false,  // Object ID to filter on e.g. a group_id or forum_id or blog_id etc.
     41                 *      'secondary_id' => false,  // Secondary object ID to filter on e.g. a post_id.
    4242                 * );
    4343                 */
Note: See TracChangeset for help on using the changeset viewer.