When multisite is not configured, the `_site_transient()` and `_site_option()` functions fallback to `_option()` and store network "meta/options" in `wp_options`. Previously, those calls to `_option()` did not explicitly set the `autoload` parameter and anything assigned as a transient or option at the network level would be set to `autoload` by default, even though autoload is not yet a concept at the network option level. This changes that behavior and forces the `autoload` setting to `no`. If `autoload` is desired, the single site option functions should be used. Props thomaswm. Fixes #22846. Built from https://develop.svn.wordpress.org/trunk@37223 git-svn-id: http://core.svn.wordpress.org/trunk@37189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
51 KiB
51 KiB