Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/24/2014 11:48:48 PM (11 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-activity/bp-activity-template.php

    r7751 r7756  
    17781778                // have the new template) will still work.
    17791779                if ( !$template ) {
    1780                     $template = BP_PLUGIN_DIR . '/bp-themes/bp-default/activity/comment.php';
     1780                    $template = buddypress()->plugin_dir . '/bp-themes/bp-default/activity/comment.php';
    17811781                }
    17821782
Note: See TracChangeset for help on using the changeset viewer.