Changeset 44125 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 12/13/2018 09:11:22 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43765
- Property svn:mergeinfo changed
-
trunk/src/wp-admin/includes/upgrade.php
r43571 r44125 794 794 } 795 795 796 if ( $wp_current_db_version < 43764 ) { 797 upgrade_500(); 798 } 799 796 800 maybe_disable_link_manager(); 797 801 … … 2071 2075 2072 2076 /** 2077 * Executes changes made in WordPress 5.0.0. 2078 * 2079 * @ignore 2080 * @since 5.0.0 2081 * 2082 * @global int $wp_current_db_version Current database version. 2083 */ 2084 function upgrade_500() { 2085 global $wp_current_db_version; 2086 if ( $wp_current_db_version < 43764 ) { 2087 // Allow bypassing Gutenberg plugin deactivation. 2088 if ( defined( 'GUTENBERG_USE_PLUGIN' ) && GUTENBERG_USE_PLUGIN ) { 2089 return; 2090 } 2091 deactivate_plugins( array( 'gutenberg/gutenberg.php' ), true ); 2092 } 2093 } 2094 2095 /** 2073 2096 * Executes network-level upgrade routines. 2074 2097 *
Note: See TracChangeset
for help on using the changeset viewer.