[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 10 12:37:58 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: closed
Priority: normal | Milestone: 6.1.1
Component: Upgrade/Install | Version: 6.1
Severity: normal | Resolution: fixed
Keywords: has-patch has-testing-info commit | Focuses:
fixed-major |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"54790" 54790]:
{{{
#!CommitTicketReference repository="" revision="54790"
Update/Install: Deactivate Gutenberg plugin version older than 14.1.
Resolves a fatal error due to `get_template_hierarchy()` due to
incompatible older Gutenberg versions.
[54269] introduced this new function for 6.1. This function was introduced
in Gutenberg 13.9.0. However, it was not guarded to protect the plugin
from when the function was loaded in Core. Gutenberg 14.1.0 added the
`function_exists()` wrapper to protect the plugin from the fatal error.
Minimum compatible version:
This commit changes the Gutenberg minimum compatible version number to
14.1. For versions older than 14.1, the plugin will deactivate when
upgrading Core to 6.1 or newer.
Function rename:
Past commits renamed the upgrade function by changing Core's version
number. This commit renames the function to be generic, i.e.
`_upgrade_core_deactivate_incompatible_plugins()` and adopts the `@since
[reason]` strategy to track historical changes to the function.
Follow-up to [54269], [52199], [52166], [52165], [51180].
Props namithjawahar, hellofromTonya, azaozz, desrosj, ironprogrammer.
Merges [54789] to the 6.1 branch.
Fixes #56985.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56985#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list