Changeset 5778 for branches/1.5/bp-core/admin/bp-core-schema.php
- Timestamp:
- 02/13/2012 08:45:48 PM (14 years ago)
- File:
-
- 1 edited
-
branches/1.5/bp-core/admin/bp-core-schema.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/bp-core/admin/bp-core-schema.php
r4820 r5778 206 206 $bp_prefix = bp_core_get_table_prefix(); 207 207 208 bp_update_option( 'bp-xprofile-base-group-name', _x( 'Base', 'First XProfile group name', 'buddypress' ) ); 209 bp_update_option( 'bp-xprofile-fullname-field-name', _x( 'Name', 'XProfile fullname field name', 'buddypress' ) ); 208 // These values should only be updated if they are not already present 209 if ( !$base_group_name = bp_get_option( 'bp-xprofile-base-group-name' ) ) { 210 bp_update_option( 'bp-xprofile-base-group-name', _x( 'Base', 'First XProfile group name', 'buddypress' ) ); 211 } 212 213 if ( !$fullname_field_name = bp_get_option( 'bp-xprofile-fullname-field-name' ) ) { 214 bp_update_option( 'bp-xprofile-fullname-field-name', _x( 'Name', 'XProfile fullname field name', 'buddypress' ) ); 215 } 210 216 211 217 $sql[] = "CREATE TABLE {$bp_prefix}bp_xprofile_groups (
Note: See TracChangeset
for help on using the changeset viewer.