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-groups/bp-groups-loader.php

    r7745 r7756  
    7878     * @since BuddyPress (1.5)
    7979     */
    80     function __construct() {
     80    public function __construct() {
    8181        parent::start(
    8282            'groups',
    8383            __( 'User Groups', 'buddypress' ),
    84             BP_PLUGIN_DIR,
     84            buddypress()->plugin_dir,
    8585            array(
    8686                'adminbar_myaccount_order' => 70
Note: See TracChangeset for help on using the changeset viewer.