Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/26/2009 03:06:59 PM (17 years ago)
Author:
apeatling
Message:

Adding support for showing parent activity item below an in-stream activity comment.

File:
1 edited

Legend:

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

    r2129 r2138  
    396396                    $d->children = array();
    397397
    398                         /* We have a reference on its parent */
     398                        /* If we have a reference on the parent */
    399399                    if ( isset( $ref[ $d->secondary_item_id ] ) ) {
    400400                        $ref[ $d->secondary_item_id ]->children[ $d->id ] = $d;
    401401                        $ref[ $d->id ] =& $ref[ $d->secondary_item_id ]->children[ $d->id ];
    402402
    403                         /* We don't have a reference on its parent, put it a root level */
     403                        /* If we don't have a reference on the parent, put in the root level */
    404404                    } else {
    405405                        $menu[ $d->id ] = $d;
Note: See TracChangeset for help on using the changeset viewer.