Skip to:
Content

BuddyPress.org

Changeset 1866


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

Fixes #996 props Detective

Location:
trunk
Files:
3 edited

Legend:

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

    r1844 r1866  
    120120    $bp_activity_no_activity = $no_activity;
    121121   
    122     load_template( TEMPLATEPATH . '/activity/activity-list.php' );
     122    locate_template( array( '/activity/activity-list.php' ), true );
    123123}
    124124
  • 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
  • trunk/bp-wire/bp-wire-templatetags.php

    r1844 r1866  
    152152    $bp_wire_show_email_notify = $show_email_notify;
    153153   
    154     load_template( TEMPLATEPATH . '/wire/post-list.php' );
     154    locate_template( array( '/wire/post-list.php' ), true );
    155155}
    156156
     
    298298   
    299299    if ( is_user_logged_in() && $wire_posts_template->can_post )
    300         load_template( TEMPLATEPATH . '/wire/post-form.php' );     
     300        locate_template( array( '/wire/post-form.php' ), true );   
    301301}
    302302
Note: See TracChangeset for help on using the changeset viewer.