[wp-trac] [WordPress Trac] #31792: register_uninstall_hook causes large #s of unnecessary updates to wp_options

WordPress Trac noreply at wordpress.org
Tue Mar 22 01:03:06 UTC 2016


#31792: register_uninstall_hook causes large #s of unnecessary updates to
wp_options
-------------------------------------+-----------------------------
 Reporter:  jeichorn                 |       Owner:  jorbin
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  Options, Meta APIs       |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by dd32):

 > So i guess the correct fix is too cleanup the uninstall_plugins option.
 Is that the sort of cleanup thats reasonable to do as part of the upgrade
 process? Or something that is best handled outside of wordpress?

 A upgrade routine to clear out any non-function/static method callbacks
 seems like something we can do here.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31792#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list