Skip to:
Content

BuddyPress.org


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

    r7558 r7756  
    1919     * @since BuddyPress (1.5.0)
    2020     */
    21     function __construct() {
     21    public function __construct() {
    2222        parent::start(
    2323            'friends',
    2424            __( 'Friend Connections', 'buddypress' ),
    25             BP_PLUGIN_DIR,
     25            buddypress()->plugin_dir,
    2626            array(
    2727                'adminbar_myaccount_order' => 60
Note: See TracChangeset for help on using the changeset viewer.