Skip to:
Content

BuddyPress.org

Changeset 2525


Ignore:
Timestamp:
02/01/2010 03:39:14 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1733

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r2485 r2525  
    747747}
    748748add_action( 'wp_head', 'bp_core_sort_nav_items' );
     749add_action( 'admin_head', 'bp_core_sort_nav_items' );
    749750
    750751/**
     
    830831}
    831832add_action( 'wp_head', 'bp_core_sort_subnav_items' );
     833add_action( 'admin_head', 'bp_core_sort_subnav_items' );
    832834
    833835/**
     
    12561258    return $date;
    12571259}
    1258 
    12591260
    12601261/**
  • trunk/bp-core/bp-core-catchuri.php

    r2489 r2525  
    255255
    256256    // If the template file doesn't exist, redirect to the root domain.
    257     if ( !bp_is_blog_page() && !file_exists( apply_filters( 'bp_located_template', locate_template( array( $bp_path . '.php' ), false ), $bp_path ) ) )
     257    if ( !bp_is_blog_page() && !file_exists( apply_filters( 'bp_located_template', locate_template( array( $bp_path . '.php' ), false ), array( $bp_path . '.php' ) ) ) )
    258258        bp_core_redirect( $bp->root_domain );
    259259
Note: See TracChangeset for help on using the changeset viewer.