Skip to:
Content

BuddyPress.org

Changeset 1039


Ignore:
Timestamp:
02/09/2009 07:35:38 PM (16 years ago)
Author:
apeatling
Message:

Fixed #346

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r1025 r1039  
    251251
    252252function bp_activity_action_sitewide_feed() {
    253     global $bp;
     253    global $bp, $wp_query;
    254254
    255255    if ( $bp->current_component != $bp->activity->slug || $bp->current_action != 'feed' || $bp->displayed_user->id )
    256256        return false;
     257
     258    $wp_query->is_404 = false;
     259    status_header( 200 );
    257260
    258261    include_once( 'bp-activity/feeds/bp-activity-sitewide-feed.php' );
     
    262265
    263266function bp_activity_action_personal_feed() {
    264     global $bp;
     267    global $bp, $wp_query
    265268
    266269    if ( $bp->current_component != $bp->activity->slug || !$bp->displayed_user->id || $bp->current_action != 'feed' )
    267270        return false;
     271   
     272    $wp_query->is_404 = false;
     273    status_header( 200 );
    268274
    269275    include_once( 'bp-activity/feeds/bp-activity-personal-feed.php' );
     
    273279
    274280function bp_activity_action_friends_feed() {
    275     global $bp;
     281    global $bp, $wp_query;
    276282
    277283    if ( $bp->current_component != $bp->activity->slug || !$bp->displayed_user->id || $bp->current_action != 'my-friends' || $bp->action_variables[0] != 'feed' )
    278284        return false;
    279    
     285
     286    $wp_query->is_404 = false; 
     287    status_header( 200 );
     288
    280289    include_once( 'bp-activity/feeds/bp-activity-friends-feed.php' );
    281290    die;   
Note: See TracChangeset for help on using the changeset viewer.