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

    r7454 r7756  
    2828     * @since BuddyPress (1.5)
    2929     */
    30     function __construct() {
     30    public function __construct() {
    3131        parent::start(
    3232            'messages',
    3333            __( 'Private Messages', 'buddypress' ),
    34             BP_PLUGIN_DIR,
     34            buddypress()->plugin_dir,
    3535            array(
    3636                'adminbar_myaccount_order' => 50
Note: See TracChangeset for help on using the changeset viewer.