Changeset 54789
- Timestamp:
- 11/10/2022 12:20:48 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update-core.php
r54730 r54789 1438 1438 _upgrade_440_force_deactivate_incompatible_plugins(); 1439 1439 1440 // Deactivate the Gutenberg plugin if its version is 11.8 or lower.1441 _upgrade_ 590_force_deactivate_incompatible_plugins();1440 // Deactivate incompatible plugins. 1441 _upgrade_core_deactivate_incompatible_plugins(); 1442 1442 1443 1443 // Upgrade DB with separate request. … … 1638 1638 * @access private 1639 1639 * @ignore 1640 * @since 5.9.0 1640 * @since 5.8.0 1641 * @since 5.9.0 The minimum compatible version of Gutenberg is 11.9. 1642 * @since 6.1.1 The minimum compatible version of Gutenberg is 14.1. 1641 1643 */ 1642 function _upgrade_ 590_force_deactivate_incompatible_plugins() {1643 if ( defined( 'GUTENBERG_VERSION' ) && version_compare( GUTENBERG_VERSION, '1 1.9', '<' ) ) {1644 function _upgrade_core_deactivate_incompatible_plugins() { 1645 if ( defined( 'GUTENBERG_VERSION' ) && version_compare( GUTENBERG_VERSION, '14.1', '<' ) ) { 1644 1646 $deactivated_gutenberg['gutenberg'] = array( 1645 1647 'plugin_name' => 'Gutenberg', 1646 1648 'version_deactivated' => GUTENBERG_VERSION, 1647 'version_compatible' => '1 1.9',1649 'version_compatible' => '14.1', 1648 1650 ); 1649 1651 if ( is_plugin_active_for_network( 'gutenberg/gutenberg.php' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.