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

    r7454 r7756  
    2525     * @since BuddyPress (1.5)
    2626     */
    27     function __construct() {
     27    public function __construct() {
    2828        parent::start(
    2929            'activity',
    3030            __( 'Activity Streams', 'buddypress' ),
    31             BP_PLUGIN_DIR,
     31            buddypress()->plugin_dir,
    3232            array(
    3333                'adminbar_myaccount_order' => 10
Note: See TracChangeset for help on using the changeset viewer.