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-core/bp-core-adminbar.php

    r7720 r7756  
    103103
    104104    // Toolbar styles
    105     $stylesheet = BP_PLUGIN_URL . "bp-core/css/admin-bar{$min}.css";
     105    $stylesheet = buddypress()->plugin_url . "bp-core/css/admin-bar{$min}.css";
    106106
    107107    wp_enqueue_style( 'bp-admin-bar', apply_filters( 'bp_core_admin_bar_css', $stylesheet ), array( 'admin-bar' ), bp_get_version() );
Note: See TracChangeset for help on using the changeset viewer.