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

    r7555 r7756  
    2020     * @since BuddyPress (1.5.0)
    2121     */
    22     function __construct() {
     22    public function __construct() {
    2323        parent::start(
    2424            'blogs',
    2525            __( 'Site Tracking', 'buddypress' ),
    26             BP_PLUGIN_DIR,
     26            buddypress()->plugin_dir,
    2727            array(
    2828                'adminbar_myaccount_order' => 30
Note: See TracChangeset for help on using the changeset viewer.