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

WordPress Trac noreply at wordpress.org
Fri Aug 19 09:03:50 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 Rahe):

 This could be nice that this patch is merged saving multiple update
 queries.
 We have sites with 8 to 10 plugins using this function and making this
 much calls at every admin/ajax page load.

 Is the cleanup of the array can be moved to an another ticket since the
 performance of the function is an another subject ?
 So we can merge this ticket and gain performance :)

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


More information about the wp-trac mailing list