Skip to:
Content

BuddyPress.org

Changeset 5149


Ignore:
Timestamp:
09/15/2011 09:44:37 PM (13 years ago)
Author:
boonebgorges
Message:

Removes bp_is_active() checks from current_component routine in bp_core_set_uri_globals(). Fixes #3579

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-catchuri.php

    r5108 r5149  
    146146        // Loop through each page in the $bp->pages global
    147147        foreach ( (array) $bp->pages as $page_key => $bp_page ) {
    148 
    149             // Skip page if component is inactive
    150             if ( !bp_is_active( $page_key ) && !in_array( $page_key, array( 'activate', 'register') ) )
    151                 continue;
    152148
    153149            // Look for a match (check members first)
Note: See TracChangeset for help on using the changeset viewer.