Changeset 6357
- Timestamp:
- 09/28/2012 10:41:20 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 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' ); -
trunk/bp-forums/bp-forums-admin.php
r6342 r6357 59 59 // Delete the bb-config.php location option 60 60 bp_delete_option( 'bb-config-location' ); 61 62 // Now delete the bb-config.php file 63 @unlink( ABSPATH . 'bb-config.php' ); 64 65 // show the updated wizard 61 66 bp_forums_bbpress_install_wizard(); 62 67 … … 78 83 79 84 <div> 80 <a class="button button-primary " href="<?php echo $action ?>"><?php _e( 'Uninstall Group Forums', 'buddypress' ) ?></a> 85 <a class="button button-primary confirm" href="<?php echo $action ?>"><?php _e( 'Uninstall Group Forums', 'buddypress' ) ?></a> 81 86 </div> 82 87 </div>
Note: See TracChangeset
for help on using the changeset viewer.