Changeset 6357 for trunk/bp-core/admin/bp-core-functions.php
- Timestamp:
- 09/28/2012 10:41:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-functions.php
r6343 r6357 376 376 do_action( 'bp_admin_tabs' ); 377 377 } 378 379 /** 380 * Add the confirmation inline javascript in the WP admin dashboard. 381 * 382 * Only add it if we're not in BP maintenance mode. 383 * 384 * @since BuddyPress (1.7) 385 * @uses bp_get_maintenance_mode() To see if we're in BP maintenance mode. 386 * @uses bp_core_confirmation_js() To output our inline JS. 387 */ 388 function bp_core_admin_add_confirm_js() { 389 if ( ! bp_get_maintenance_mode() ) 390 bp_core_confirmation_js(); 391 } 392 add_action( 'admin_head', 'bp_core_admin_add_confirm_js' );
Note: See TracChangeset
for help on using the changeset viewer.