Changeset 6195
- Timestamp:
- 07/23/2012 07:43:55 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-admin.php
r6138 r6195 110 110 111 111 function bp_forums_bbpress_install_wizard() { 112 $post_url = network_admin_url( 'admin.php?page=bb-forums-setup' ); 112 $post_url = network_admin_url( 'admin.php?page=bb-forums-setup' ); 113 $bbpress_plugin_is_active = false; 113 114 114 115 $step = isset( $_REQUEST['step'] ) ? $_REQUEST['step'] : ''; … … 117 118 // is running 118 119 if ( is_plugin_active( 'bbpress/bbpress.php' ) ) { 120 $bbpress_plugin_is_active = true; 121 119 122 // The bbPress admin page will always be on the root blog. switch_to_blog() will 120 123 // pass through if we're already there. … … 232 235 </ul> 233 236 <div> 234 <a class="button thickbox button-primary" href="<?php echo esc_attr( $button_url ) ?>"><?php echo esc_html( $button_text ) ?></a> 237 <a class="button button-primary <?php if ( ! $bbpress_plugin_is_active ) { echo esc_attr( 'thickbox' ); }?>" href="<?php echo esc_attr( $button_url ) ?>"><?php echo esc_html( $button_text ) ?></a> 235 238 </div> 236 239 </div>
Note: See TracChangeset
for help on using the changeset viewer.