[wp-trac] [WordPress Trac] #31792: register_uninstall_hook causes large #s of unnecessary updates to wp_options
    WordPress Trac 
    noreply at wordpress.org
       
    Mon Mar 21 22:35:16 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 jeichorn):
 So it turns out there are a bunch of entries like that in the array, but
 they are all from plugins that are no longer installed.
 But it seems that just sitting around is enough to cause the problem.
 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?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31792#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list