Skip to:
Content

BuddyPress.org


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

    r7554 r7756  
    2323     * @since BuddyPress (1.5.0)
    2424     */
    25     function __construct() {
     25    public function __construct() {
    2626        parent::start(
    2727            'forums',
    2828            __( 'Discussion Forums', 'buddypress' ),
    29             BP_PLUGIN_DIR,
     29            buddypress()->plugin_dir,
    3030            array(
    3131                'adminbar_myaccount_order' => 80
Note: See TracChangeset for help on using the changeset viewer.