[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 07:41:41 UTC 2024


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

Comment (by dd32):

 To be clear; This isn't against plugin dependencies, just not at the cost
 of lowering WordPress performance, or causing issues for high traffic
 WordPress sites.

 I can understand fully why the dependency checking is being performed at
 plugin inclusion time, as the environment may have changed (ie. site re-
 deployed with a new PHP version), but for 99.999% of WordPress sites, this
 isn't something that's going to be an issue for them, and for the 0.001%
 that it is, accessing wp-admin or another admin contextual page is likely
 going to be an acceptable workaround.

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


More information about the wp-trac mailing list