[wp-trac] [WordPress Trac] #60457: Plugin Dependencies: Running update_option within wp-settings can be catastrophic for a high traffic site

WordPress Trac noreply at wordpress.org
Wed Feb 7 08:57:56 UTC 2024


#60457: Plugin Dependencies: Running update_option within wp-settings can be
catastrophic for a high traffic site
--------------------------+--------------------------
 Reporter:  dd32          |       Owner:  costdev
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  6.5
Component:  Plugins       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:  performance
--------------------------+--------------------------

Comment (by costdev):

 Additionally, there is also a removal of invalid plugins from the
 `plugin_data` option done in `wp_get_active_and_valid_plugins()`. As this
 function runs during the bootstrap, I would also propose removing this
 cleanup from there. `get_plugins()` will effectively perform a cleanup
 anyway on its first call, and the cleanup can wait until that is triggered
 on a visit to the admin's `plugins.php` page.

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


More information about the wp-trac mailing list