diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php
index 71c90e16de..852523b362 100644
|
a
|
b
|
function upgrade_all() { |
| 614 | 614 | if ( $wp_current_db_version < 37965 ) |
| 615 | 615 | upgrade_460(); |
| 616 | 616 | |
| | 617 | if ( $wp_current_db_version < 43754 ) |
| | 618 | upgrade_500(); |
| | 619 | |
| 617 | 620 | maybe_disable_link_manager(); |
| 618 | 621 | |
| 619 | 622 | maybe_disable_automattic_widgets(); |
| … |
… |
function upgrade_460() { |
| 1781 | 1784 | } |
| 1782 | 1785 | } |
| 1783 | 1786 | |
| | 1787 | /** |
| | 1788 | * Executes changes made in WordPress 5.0.0. |
| | 1789 | * |
| | 1790 | * @ignore |
| | 1791 | * @since 5.0.0 |
| | 1792 | * |
| | 1793 | * @global int $wp_current_db_version Current database version. |
| | 1794 | */ |
| | 1795 | function upgrade_500() { |
| | 1796 | global $wp_current_db_version; |
| | 1797 | if ( $wp_current_db_version < 43754 ) { |
| | 1798 | // Allow bypassing Gutenberg plugin deactivation. |
| | 1799 | if ( defined( 'GUTENBERG_KEEP_PLUGIN' ) && GUTENBERG_KEEP_PLUGIN ) { |
| | 1800 | return; |
| | 1801 | } |
| | 1802 | deactivate_plugins( array( 'gutenberg/gutenberg.php' ), true ); |
| | 1803 | } |
| | 1804 | } |
| | 1805 | |
| 1784 | 1806 | /** |
| 1785 | 1807 | * Executes network-level upgrade routines. |
| 1786 | 1808 | * |
diff --git a/src/wp-includes/version.php b/src/wp-includes/version.php
index 7063fbf7f9..8167718f1e 100644
|
a
|
b
|
$wp_version = '5.0-alpha-43676-src'; |
| 11 | 11 | * |
| 12 | 12 | * @global int $wp_db_version |
| 13 | 13 | */ |
| 14 | | $wp_db_version = 38590; |
| | 14 | $wp_db_version = 43754; |
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * Holds the TinyMCE version |