[wp-trac] [WordPress Trac] #31792: register_uninstall_hook() causes large amounts of unnecessary option updates
WordPress Trac
noreply at wordpress.org
Thu Sep 26 22:07:15 UTC 2019
#31792: register_uninstall_hook() causes large amounts of unnecessary option
updates
-------------------------------------------------+-------------------------
Reporter: jeichorn | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: Options, Meta APIs | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing bulk- | Focuses:
reopened commit | performance
-------------------------------------------------+-------------------------
Changes (by whyisjake):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"46333" 46333]:
{{{
#!CommitTicketReference repository="" revision="46333"
Options: `register_uninstall_hook()` causes large amounts of unnecessary
option updates.
Prevent extra database read/writes from the the hook.
Props jeichorn, MikeHansenMe, DrewAPicture, Rahe, tha_sun, mikeschroder.
Fixes #31792.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31792#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list