[wp-trac] [WordPress Trac] #60491: Fix handling of plugins with unmet requirements
WordPress Trac
noreply at wordpress.org
Tue Feb 20 07:25:54 UTC 2024
#60491: Fix handling of plugins with unmet requirements
--------------------------+-----------------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Plugins | Version: 5.1
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Comment (by costdev):
In [changeset:"57658" 57658]:
{{{
#!CommitTicketReference repository="" revision="57658"
Plugin Dependencies: Remove auto-deactivation and bootstrapping logic.
Automatic deactivation of dependents with unmet dependencies requires a
write operation to the database. This was performed during Core's
bootstrap, which risked the database and cache becoming out-of-sync on
sites with heavy traffic.
No longer loading plugins that have unmet requirements has not had a final
approach decided core-wide, and is still in discussion in #60491 to be
handled in a future release.
The `plugin_data` option, used to persistently store plugin data for
detecting unmet dependencies during Core's bootstrap, is no longer needed.
Follow-up to [57545], [57592], [57606], [57617].
Props dd32, azaozz, swissspidy, desrosj, afragen, pbiron, zunaid321,
costdev.
Fixes #60457. See #60491, #60510, #60518.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60491#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list