[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
Fri Feb 9 01:28:54 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):

 Please note that [https://github.com/WordPress/wordpress-develop/pull/6071
 PR 6071] for #60461 was submitted to avoid issues during install scripts.
 This removes the `update_option()` calls in `wp-settings.php`, and guards
 a call to `update_option()` in `get_plugins()` when WordPress is
 installing.

 While not a complete resolution to the concerns of this ticket, I'm just
 updating you all on a patch for a specific issue that relates to the areas
 discussed here.

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


More information about the wp-trac mailing list