Changeset 43765 for branches/5.0/src/wp-admin/includes/upgrade.php
- Timestamp:
- 10/19/2018 10:50:20 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-admin/includes/upgrade.php
r43272 r43765 615 615 upgrade_460(); 616 616 617 if ( $wp_current_db_version < 43764 ) 618 upgrade_500(); 619 617 620 maybe_disable_link_manager(); 618 621 … … 1783 1786 1784 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 < 43764 ) { 1798 // Allow bypassing Gutenberg plugin deactivation. 1799 if ( defined( 'GUTENBERG_USE_PLUGIN' ) && GUTENBERG_USE_PLUGIN ) { 1800 return; 1801 } 1802 deactivate_plugins( array( 'gutenberg/gutenberg.php' ), true ); 1803 } 1804 } 1805 1806 /** 1785 1807 * Executes network-level upgrade routines. 1786 1808 *
Note: See TracChangeset
for help on using the changeset viewer.