Skip to:
Content

BuddyPress.org


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

    r7747 r7756  
    3636         * @since BuddyPress (1.5)
    3737         */
    38         function __construct() {
     38        public function __construct() {
    3939                parent::start(
    4040                        'xprofile',
    4141                        __( 'Extended Profiles', 'buddypress' ),
    42                         BP_PLUGIN_DIR,
     42                        buddypress()->plugin_dir,
    4343                        array(
    4444                                'adminbar_myaccount_order' => 20
Note: See TracChangeset for help on using the changeset viewer.