Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/03/2010 10:33:18 PM (14 years ago)
Author:
apeatling
Message:

Fixes #2190 props wpmuguru

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-xprofile.php

    r2933 r2982  
    2828        $charset_collate = "DEFAULT CHARACTER SET $wpdb->charset";
    2929
    30     if ( empty( $bp->site_options['bp-xprofile-base-group-name'] ) )
    31         update_site_option( 'bp-xprofile-base-group-name', 'Base' );
    32 
    33     if ( empty( $bp->site_options['bp-xprofile-fullname-field-name'] ) )
    34         update_site_option( 'bp-xprofile-fullname-field-name', 'Name' );
     30    bp_core_activate_site_options( array( 'bp-xprofile-base-group-name' => 'Base', 'bp-xprofile-fullname-field-name' => 'Name' ) );
    3531
    3632    $sql[] = "CREATE TABLE {$bp->profile->table_name_groups} (
Note: See TracChangeset for help on using the changeset viewer.