[wp-trac] [WordPress Trac] #55584: Settings API autoload hook

WordPress Trac noreply at wordpress.org
Mon Apr 18 04:56:49 UTC 2022


#55584: Settings API autoload hook
-------------------------+-----------------------------
 Reporter:  hir88en      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Currently all settings registered via Settings API is forced to enable
 autoload, There is no hook to replace this.

 Lets imagine just for example:
 1. all wordpress plugins is using this to register their settings data.
 but not delete this value during uninstall.
 2. Average wodpress admin install then uninstall 50 plugins in their
 lifetime.
 3. Average autoloaded setting is 100kb per plugin

 there will be 5mb autoloaded options which not used anymore. that event is
 per pageload. Just imagine that.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55584>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list