[wp-trac] [WordPress Trac] #60518: Plugin Dependencies: Avoid unnecessary DB writes
WordPress Trac
noreply at wordpress.org
Tue Feb 13 13:00:36 UTC 2024
#60518: Plugin Dependencies: Avoid unnecessary DB writes
-------------------------------------+--------------------------
Reporter: joemcgill | Owner: joemcgill
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.5
Component: Upgrade/Install | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: performance
-------------------------------------+--------------------------
Changes (by joemcgill):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"57617" 57617]:
{{{
#!CommitTicketReference repository="" revision="57617"
Upgrade/Install: Avoid unnecessary db operations for plugin dependencies.
The Plugin Dependencies feature saves a list of any plugins that have been
disabled due to unmet dependencies to a transient in order to give user
feedback in the admin about what has taken place. This ensures that the DB
operations to write this transient is skipped if there are no dependent
plugins to deactivate.
Props joemcgill, costdev, afragen.
Fixes #60518.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60518#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list