Skip to:
Content

BuddyPress.org

Ticket #2580: includes_upgrade.patch

File includes_upgrade.patch, 1.1 KB (added by sorich87, 14 years ago)
  • bp-core/admin/bp-core-schema.php

     
    22function bp_core_set_charset() {
    33        global $wpdb;
    44
    5         require_once( ABSPATH . 'wp-admin/upgrade-functions.php' );
     5        require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
    66
    77        /* BuddyPress component DB schema */
    88        if ( !empty($wpdb->charset) )
  • bp-forums/bp-forums-bbpress.php

     
    6565
    6666        /* This must be loaded before functionss.bb-admin.php otherwise we get a function conflict. */
    6767        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' );
    6969
    7070        require_once( BB_PATH . 'bb-admin/includes/functions.bb-admin.php' );
    7171