Ticket #2580: includes_upgrade.patch
File includes_upgrade.patch, 1.1 KB (added by , 14 years ago) |
---|
-
bp-core/admin/bp-core-schema.php
2 2 function bp_core_set_charset() { 3 3 global $wpdb; 4 4 5 require_once( ABSPATH . 'wp-admin/ upgrade-functions.php' );5 require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); 6 6 7 7 /* BuddyPress component DB schema */ 8 8 if ( !empty($wpdb->charset) ) -
bp-forums/bp-forums-bbpress.php
65 65 66 66 /* This must be loaded before functionss.bb-admin.php otherwise we get a function conflict. */ 67 67 if ( !$tables_installed = (boolean) $bbdb->get_results( 'DESCRIBE `' . $bbdb->forums . '`;', ARRAY_A ) ) 68 require_once( ABSPATH . 'wp-admin/ upgrade-functions.php' );68 require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); 69 69 70 70 require_once( BB_PATH . 'bb-admin/includes/functions.bb-admin.php' ); 71 71