Skip to:
Content

BuddyPress.org

Changeset 1062 for trunk/bp-wire.php


Ignore:
Timestamp:
02/11/2009 08:08:26 PM (15 years ago)
Author:
apeatling
Message:

Fixes #340

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-wire.php

    r1052 r1062  
    128128    $wire_post = new BP_Wire_Post( $table_name, $wire_post_id );
    129129   
    130     if ( !$bp->is_item_admin ) {
    131         if ( $wire_post->user_id != $bp->loggedin_user->id )
    132             return false;
     130    if ( !is_site_admin() ) {
     131        if ( !$bp->is_item_admin ) {
     132            if ( $wire_post->user_id != $bp->loggedin_user->id )
     133                return false;
     134        }
    133135    }
    134136   
Note: See TracChangeset for help on using the changeset viewer.