Changeset 5751 for trunk/bp-core/bp-core-adminbar.php
- Timestamp:
- 02/13/2012 04:35:21 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-adminbar.php
r5465 r5751 51 51 function bp_core_load_admin_bar_css() { 52 52 53 $version = '2011116';54 55 53 if ( !bp_use_wp_admin_bar() || defined( 'DOING_AJAX' ) ) 56 54 return; … … 62 60 $stylesheet = BP_PLUGIN_URL . 'bp-core/css/admin-bar.css'; 63 61 64 wp_enqueue_style( 'bp-admin-bar', apply_filters( 'bp_core_admin_bar_css', $stylesheet ), array( 'admin-bar' ), $version);62 wp_enqueue_style( 'bp-admin-bar', apply_filters( 'bp_core_admin_bar_css', $stylesheet ), array( 'admin-bar' ), bp_get_version() ); 65 63 66 64 if ( !is_rtl() ) … … 72 70 $stylesheet = BP_PLUGIN_URL . 'bp-core/css/admin-bar-rtl.css'; 73 71 74 wp_enqueue_style( 'bp-admin-bar-rtl', apply_filters( 'bp_core_admin_bar_rtl_css', $stylesheet ), array( 'bp-admin-bar' ), $version);72 wp_enqueue_style( 'bp-admin-bar-rtl', apply_filters( 'bp_core_admin_bar_rtl_css', $stylesheet ), array( 'bp-admin-bar' ), bp_get_version() ); 75 73 } 76 74 add_action( 'bp_init', 'bp_core_load_admin_bar_css' );
Note: See TracChangeset
for help on using the changeset viewer.