Changeset 2281 for trunk/bp-core/bp-core-cssjs.php
- Timestamp:
- 01/09/2010 11:13:31 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-cssjs.php
r2227 r2281 24 24 } 25 25 add_action( 'init', 'bp_core_add_admin_bar_css' ); 26 27 /**28 * bp_core_add_admin_bar_js()29 *30 * Add the minor JS needed for the admin bar.31 *32 * @package BuddyPress Core33 * @uses get_option() Selects a site setting from the DB.34 */35 function bp_core_add_admin_bar_js() {36 wp_enqueue_script( 'bp-admin-bar-js', BP_PLUGIN_URL . '/bp-core/js/admin-bar.js', array( 'jquery' ) );37 }38 add_action( 'init', 'bp_core_add_admin_bar_js' );39 26 40 27 /**
Note: See TracChangeset
for help on using the changeset viewer.