chesio / bc-security

Helps keeping WordPress websites secure.
The Unlicense
14 stars 3 forks source link

Some options might not have to be autoloaded #158

Open chesio opened 1 week ago

chesio commented 1 week ago

See: https://make.wordpress.org/core/2024/06/18/options-api-disabling-autoload-for-large-options

chesio commented 1 week ago

Preliminary tests show that there is a room for improvement, but not as big as I would expect.

Anyway, as there is no official way to disable autoload when using Settings API, I'm putting this optimization on hold for now. When https://core.trac.wordpress.org/ticket/61522 is resolved, it might be worth to revisit it.