Skip to:
Content

BuddyPress.org

Changeset 2114 for trunk/bp-activity.php


Ignore:
Timestamp:
11/24/2009 10:05:01 PM (16 years ago)
Author:
apeatling
Message:

Merging 1.1 branch fixes into trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r2088 r2114  
    8383    bp_core_add_root_component( BP_ACTIVITY_SLUG );
    8484}
    85 add_action( 'plugins_loaded', 'bp_activity_setup_root_component', 2 );
     85add_action( 'plugins_loaded', 'bp_activity_setup_root_component' );
    8686
    8787function bp_activity_setup_nav() {
     
    126126
    127127function bp_activity_screen_friends_activity() {
     128    global $bp;
     129
     130    /* Make sure delete links do not show for friends activity items */
     131    if ( !is_site_admin() )
     132        $bp->is_item_admin = false;
     133
    128134    do_action( 'bp_activity_screen_friends_activity' );
    129135    bp_core_load_template( apply_filters( 'bp_activity_template_friends_activity', 'activity/my-friends' ) );
Note: See TracChangeset for help on using the changeset viewer.