Skip to:
Content

BuddyPress.org

Ticket #8890: 8890-bp-core-update.diff

File 8890-bp-core-update.diff, 1.5 KB (added by viralsampat, 3 years ago)
  • src/bp-core/bp-core-update.php

    diff --git a/src/bp-core/bp-core-update.php b/src/bp-core/bp-core-update.php
    index 0eac1a224..d9ba85dae 100644
    a b function bp_version_updater() { 
    309309 * `dbDelta()` cannot handle certain operations - like changing indexes - so we do it here instead.
    310310 *
    311311 * @since 2.3.0
     312 *
     313 * @global wpdb $wpdb WordPress database object.
    312314 */
    313315function bp_pre_schema_upgrade() {
    314316        global $wpdb;
    function bp_update_to_2_5() { 
    536538 * - Add ignore deprecated code option (false for updates).
    537539 *
    538540 * @since 2.7.0
     541 *
     542 * @global wpdb $wpdb WordPress database object.
    539543 */
    540544function bp_update_to_2_7() {
    541545        bp_add_option( 'bp-emails-unsubscribe-salt', base64_encode( wp_generate_password( 64, true, true ) ) );
    function bp_update_to_2_7() { 
    571575 * @since 8.0.0
    572576 *
    573577 * @return int The fullname field ID.
     578 *
     579 * @global wpdb $wpdb WordPress database object.
    574580 */
    575581function bp_get_fullname_field_id_for_update() {
    576582        /**
    function bp_get_fullname_field_id_for_update() { 
    591597 * - Migrate requests and invitations to the new table.
    592598 *
    593599 * @since 5.0.0
     600 *
     601 * @global wpdb $wpdb WordPress database object.
    594602 */
    595603function bp_update_to_5_0() {
    596604        /**
    function bp_update_to_5_0() { 
    632640 * - Upgrade Primary xProfile Group's fields to signup fields.
    633641 *
    634642 * @since 8.0.0
     643 *
     644 * @global wpdb $wpdb WordPress database object.
    635645 */
    636646function bp_update_to_8_0() {
    637647        global $wpdb;