Skip to:
Content

BuddyPress.org

Changeset 480


Ignore:
Timestamp:
11/03/2008 03:26:51 PM (18 years ago)
Author:
apeatling
Message:

Modifications to catch-uri for root blog

File:
1 edited

Legend:

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

    r479 r480  
    171171function bp_core_do_catch_uri() {
    172172    global $bp_path, $bp, $wpdb;
    173     global $is_member_page;
     173    global $current_blog;
    174174
    175175    $pages = $bp_path;
    176176   
    177177    /* Don't hijack any URLs on blog pages */
    178     if ( bp_is_blog_page() )
     178    if ( bp_is_blog_page() && $current_blog->blog_id > 1 )
    179179        return false;
    180180
Note: See TracChangeset for help on using the changeset viewer.