Skip to:
Content

BuddyPress.org

Changeset 4951


Ignore:
Timestamp:
08/09/2011 05:04:35 PM (14 years ago)
Author:
boonebgorges
Message:

Default to show_hidden = true in bp_activity_get_specific(). Fixes #3458

File:
1 edited

Legend:

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

    r4937 r4951  
    601601}
    602602
     603/**
     604 * Fetch specific activity items
     605 *
     606 * @package BuddyPress
     607 *
     608 * @param array $args See docs for $defaults for details
     609 * @return array The array returned by BP_Activity_Activity::get()
     610 */
    603611function bp_activity_get_specific( $args = '' ) {
    604612    $defaults = array(
     
    609617        'sort'             => 'DESC', // sort ASC or DESC
    610618        'display_comments' => false,  // true or false to display threaded comments for these specific activity items
    611         'show_hidden'      => false
     619        'show_hidden'      => true    // When fetching specific items, show all
    612620    );
    613621    $r = wp_parse_args( $args, $defaults );
Note: See TracChangeset for help on using the changeset viewer.