[wp-trac] [WordPress Trac] #60510: Plugins Dependencies: performance improvements with finding plugin's file relative to plugins directory.
WordPress Trac
noreply at wordpress.org
Tue Feb 20 07:25:54 UTC 2024
#60510: Plugins Dependencies: performance improvements with finding plugin's file
relative to plugins directory.
------------------------------+-----------------------------
Reporter: hellofromTonya | Owner: hellofromTonya
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.5
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: performance
------------------------------+-----------------------------
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/60510#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list