Make WordPress Core


Ignore:
Timestamp:
05/10/2017 08:03:01 PM (8 years ago)
Author:
azaozz
Message:

Dashboard: Update the existing WordPress News dashboard widget to also include upcoming meetup events and WordCamps near the current user’s location.

Props @afercia, @andreamiddleton, @azaozz, @camikaos, @coreymckrill, @chanthaboune, @courtneypk, @dd32, @iandunn, @iseulde, @mapk, @mayukojpn, @melchoyce, @nao, @obenland, @pento, @samuelsidler, @stephdau, @tellyworth.
See #40702.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r40296 r40607  
    565565    if ( $wp_current_db_version < 37965 )
    566566        upgrade_460();
     567
     568    if ( $wp_current_db_version < 40500 ) { //todo update to commit for #40702
     569        upgrade_480();
     570    }
    567571
    568572    maybe_disable_link_manager();
     
    17341738
    17351739/**
     1740 * Executes changes made in WordPress 4.8.0.
     1741 *
     1742 * @ignore
     1743 * @since 4.8.0
     1744 *
     1745 * @global int $wp_current_db_version Current database version.
     1746 */
     1747function upgrade_480() {
     1748    global $wp_current_db_version;
     1749
     1750    if ( $wp_current_db_version < 40500 ) { // todo update to commit for #40702
     1751        // This feature plugin was merged for #40702, so the plugin itself is no longer needed
     1752        deactivate_plugins( array( 'nearby-wp-events/nearby-wordpress-events.php' ), true );
     1753
     1754        // The markup stored in this transient changed for #40702
     1755        delete_transient( 'dash_' . md5( 'dashboard_primary' . '_' . get_locale() ) );
     1756    }
     1757}
     1758
     1759/**
    17361760 * Executes network-level upgrade routines.
    17371761 *
Note: See TracChangeset for help on using the changeset viewer.