[wp-trac] [WordPress Trac] #56985: An unupdated Version of Gutenberg Fatally breaks the sute on WordPress 6.1 Autoupdate
WordPress Trac
noreply at wordpress.org
Thu Nov 3 17:36:17 UTC 2022
#56985: An unupdated Version of Gutenberg Fatally breaks the sute on WordPress 6.1
Autoupdate
-----------------------------+-----------------------------
Reporter: namith.jawahar | Owner: hellofromTonya
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.1.1
Component: Upgrade/Install | Version: 6.1
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+-----------------------------
Changes (by hellofromTonya):
* owner: (none) => hellofromTonya
* status: new => assigned
* version: => 6.1
* component: Plugins => Upgrade/Install
* milestone: Awaiting Review => 6.1.1
Comment:
Hello @namithjawahar,
Welcome back to WordPress Core Trac! Thank you for reporting this issue.
Doing some backtracing in the Gutenberg repository:
* Gutenberg 13.9.0 added the `get_template_hierarchy()` function but did
not protect it from a conflict with Core.
* Gutenberg 14.1.0+ added the protective guard (i.e. wrapped it with
`function_exist()`.
In WordPress 5.8, [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/includes/update-core.php#L1643 a function]
was added to deactivate an older incompatible plugin. This function was
updated in WP 5.9. It was not updated in WP 6.1.
For WP 6.1, a fix is to update the Gutenberg version number from `11.9` to
`14.1`. This change should avoid a fatal error for anyone updating to
6.1.1+ with an older version the Gutenberg plugin.
Moving this into 6.1.1 milestone.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56985#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list