Changeset 6342 for trunk/bp-core/admin/bp-core-schema.php
- Timestamp:
- 09/18/2012 06:03:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-schema.php
r5966 r6342 243 243 $bp_prefix = bp_core_get_table_prefix(); 244 244 245 // These values should only be updated if they are not already present 246 if ( !$base_group_name = bp_get_option( 'bp-xprofile-base-group-name' ) ) { 247 bp_update_option( 'bp-xprofile-base-group-name', _x( 'Base', 'First XProfile group name', 'buddypress' ) ); 248 } 249 250 if ( !$fullname_field_name = bp_get_option( 'bp-xprofile-fullname-field-name' ) ) { 251 bp_update_option( 'bp-xprofile-fullname-field-name', _x( 'Name', 'XProfile fullname field name', 'buddypress' ) ); 252 } 245 // These values should only be updated if they are not already present 246 if ( !$base_group_name = bp_get_option( 'bp-xprofile-base-group-name' ) ) { 247 bp_update_option( 'bp-xprofile-base-group-name', _x( 'Base', 'First XProfile group name', 'buddypress' ) ); 248 } 249 250 if ( !$fullname_field_name = bp_get_option( 'bp-xprofile-fullname-field-name' ) ) { 251 bp_update_option( 'bp-xprofile-fullname-field-name', _x( 'Name', 'XProfile fullname field name', 'buddypress' ) ); 252 } 253 253 254 254 $sql[] = "CREATE TABLE {$bp_prefix}bp_xprofile_groups ( … … 347 347 * 348 348 * @global WPDB $wpdb 349 * @global BuddyPress $bp 349 * @global BuddyPress $bp 350 350 */ 351 351 function bp_update_db_stuff() { … … 387 387 388 388 } 389 390 ?>
Note: See TracChangeset
for help on using the changeset viewer.