Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/14/2009 05:53:21 PM (17 years ago)
Author:
apeatling
Message:

Fixes #996 props Detective

File:
1 edited

Legend:

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

    r1855 r1866  
    385385
    386386function bp_get_profile_header() {
    387         load_template( TEMPLATEPATH . '/profile/profile-header.php' );
     387        locate_template( array( '/profile/profile-header.php' ), true );
    388388}
    389389
    … …  
    453453
    454454function bp_get_plugin_sidebar() {
    455         if ( file_exists(TEMPLATEPATH . '/plugin-sidebar.php') )
    456                 load_template( TEMPLATEPATH . '/plugin-sidebar.php' );
     455        if ( file_exists(TEMPLATEPATH . '/plugin-sidebar.php' ) )
     456                locate_template( array( '/plugin-sidebar.php' ), true );
    457457}
    458458
Note: See TracChangeset for help on using the changeset viewer.