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

    r7593 r7756  
    2121         * @since BuddyPress (1.9.0)
    2222         */
    23         function __construct() {
     23        public function __construct() {
    2424                parent::start(
    2525                        'notifications',
    2626                        __( 'Notifications', 'buddypress' ),
    27                         BP_PLUGIN_DIR,
     27                        buddypress()->plugin_dir,
    2828                        array(
    2929                                'adminbar_myaccount_order' => 30
Note: See TracChangeset for help on using the changeset viewer.