[wp-trac] [WordPress Trac] #54405: Disable Gutenberg 11.8.2 (and likely earlier) upon upgrade to WordPress 5.9
WordPress Trac
noreply at wordpress.org
Wed Nov 17 17:43:55 UTC 2021
#54405: Disable Gutenberg 11.8.2 (and likely earlier) upon upgrade to WordPress 5.9
------------------------------+-----------------------------
Reporter: jorbin | Owner: hellofromTonya
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 5.9
Component: Upgrade/Install | Version:
Severity: blocker | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------------
Changes (by hellofromTonya):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"52199" 52199]:
{{{
#!CommitTicketReference repository="" revision="52199"
Upgrade/Install: Remove 5.8 function and fix deactivate Gutenberg plugin
version compare < 11.9.
Follow-up to [52165] where the `version_compare()` fails for 11.8.x
versions. This commit changes the version comparison to < 11.9 for
deactivating the Gutenberg plugin.
The `_upgrade_580_force_deactivate_incompatible_plugins()` function is no
longer needed in 5.9. It's redundant and unnecessary as
`_upgrade_590_force_deactivate_incompatible_plugins()` deactivates those
versions as well.
Removing `_upgrade_580_force_deactivate_incompatible_plugins()` and moving
the deactivation logic back into the
`_deactivate_gutenberg_when_incompatible_with_wp()`, thus removing the new
private function `_deactivate_gutenberg_when_incompatible_with_wp()`
introduced in [52165].
Follow-up [51180], [51266], [52165].
Props hellofromTonya, tobiasbg, clorith, sergeybiryukov, costdev.
Fixes #54405.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54405#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list