Changeset 1255 for trunk/bp-xprofile.php
- Timestamp:
- 03/25/2009 07:09:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile.php
r1250 r1255 115 115 116 116 require_once( ABSPATH . 'wp-admin/upgrade-functions.php' ); 117 118 117 dbDelta($sql); 118 119 if ( function_exists('bp_wire_install') ) 120 xprofile_wire_install(); 119 121 120 122 update_site_option( 'bp-xprofile-db-version', BP_XPROFILE_DB_VERSION ); … … 139 141 140 142 require_once( ABSPATH . 'wp-admin/upgrade-functions.php' ); 141 142 143 dbDelta($sql); 143 144 } … … 200 201 if ( get_site_option('bp-xprofile-db-version') < BP_XPROFILE_DB_VERSION ) 201 202 xprofile_install(); 202 203 if ( function_exists('bp_wire_install') && get_site_option('bp-xprofile-db-version') < BP_XPROFILE_DB_VERSION )204 xprofile_wire_install();205 203 } 206 204 add_action( 'admin_menu', 'xprofile_add_admin_menu' );
Note: See TracChangeset
for help on using the changeset viewer.