[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
Mon Nov 15 19:57:43 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:  reviewing
 Priority:  normal                          |   Milestone:  5.9
Component:  Upgrade/Install                 |     Version:
 Severity:  blocker                         |  Resolution:
 Keywords:  has-patch needs-testing commit  |     Focuses:
--------------------------------------------+-----------------------------

Comment (by hellofromTonya):

 In [changeset:"52165" 52165]:
 {{{
 #!CommitTicketReference repository="" revision="52165"
 Upgrade/Install: Deactivate the Gutenberg plugin if its version is 11.8 or
 lower.

 Avoid a fatal error due to `WP_Theme_JSON_Schema` and potentially other
 classes and/or functions redeclarations when updating to WordPress 5.9
 with an incompatible version of the Gutenberg plugin.

 This commit uses the same strategy from 5.8. Moves the plugin deactivation
 code (introduced in [51266]) to a private function for reuse in 5.8, 5.9,
 and future major releases.

 Follow-up to [51180], [51266].

 Props hellofromTonya, johnbillion, jorbin.
 See #54405.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54405#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list