Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/24/2014 11:48:48 PM (6 years ago)
Author:
johnjamesjacoby
Message:

Replace BP_PLUGIN_DIR and BP_PLUGIN_URL constant usages with plugin_dir and plugin_url BuddyPress variables, respectively. Also replaces $bp global touches with buddypress() calls within the above scopes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/_inc/ajax.php

    r7570 r7756  
    353353     */
    354354    if ( empty( $template ) )
    355         $template = BP_PLUGIN_DIR . '/bp-themes/bp-default/activity/comment.php';
     355        $template = buddypress()->plugin_dir . '/bp-themes/bp-default/activity/comment.php';
    356356
    357357    load_template( $template, false );
Note: See TracChangeset for help on using the changeset viewer.