Changeset 2919 for trunk/bp-core/admin/bp-core-admin.php
- Timestamp:
- 04/13/2010 04:01:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-admin.php
r2863 r2919 33 33 foreach ( (array)$_POST['bp-admin'] as $key => $value ) { 34 34 35 if ( function_exists( 'xprofile_install' ) ) {35 if ( bp_is_active( 'xprofile' ) ) { 36 36 if ( 'bp-xprofile-base-group-name' == $key ) { 37 37 $wpdb->query( $wpdb->prepare( "UPDATE {$bp->profile->table_name_groups} SET name = %s WHERE id = 1", $value ) ); … … 62 62 <table class="form-table"> 63 63 <tbody> 64 <?php if ( function_exists( 'xprofile_install' ) ) :?>64 <?php if ( is_active( 'xprofile' ) ) :?> 65 65 <tr> 66 66 <th scope="row"><?php _e( 'Base profile group name', 'buddypress' ) ?>:</th> … … 113 113 </tr> 114 114 <?php endif; ?> 115 <?php if ( function_exists( 'bp_activity_install') ) : ?>115 <?php if ( bp_is_active( 'activity' ) ) : ?> 116 116 <tr> 117 117 <th scope="row"><?php _e( 'Disable activity stream commenting on blog and forum posts?', 'buddypress' ) ?>:</th>
Note: See TracChangeset
for help on using the changeset viewer.