Boone Gorges
11ec50e453
Introduce $autoload parameter to update_option().
...
When creating an option via `add_option()`, the `$autoload` param allows you to
tell WP whether the option should be loaded as part of the 'alloptions' cache
during every pageload. `update_option()`, when used with a non-existent option
calls `add_option()` internally. The new `$autoload` param in `update_option()`
is passed along to `add_option()` in cases where the option does not yet exist.
The associated unit tests are skipped on multisite due to an issue that causes
`WP_INSTALLING` to force cache misses. See #31130 .
Props codix, nofearinc, MikeHansenMe.
Fixes #26394 .
Built from https://develop.svn.wordpress.org/trunk@31628
git-svn-id: http://core.svn.wordpress.org/trunk@31609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-05 19:13:25 +00:00
..
2014-12-07 03:13:22 +00:00
2015-03-05 06:00:26 +00:00
2014-12-09 19:34:23 +00:00
2014-11-25 06:12:22 +00:00
2015-03-05 16:54:26 +00:00
2014-11-30 21:41:22 +00:00
2014-12-06 21:32:24 +00:00
2015-02-24 20:31:24 +00:00
2015-01-12 16:40:23 +00:00
2014-11-24 04:42:22 +00:00
2015-01-08 07:05:25 +00:00
2015-01-10 06:54:23 +00:00
2015-02-14 03:48:27 +00:00
2015-02-26 05:54:24 +00:00
2015-02-06 09:04:22 +00:00
2014-11-17 17:37:23 +00:00
2015-01-16 01:06:24 +00:00
2015-01-29 03:58:23 +00:00
2014-12-30 20:41:23 +00:00
2015-02-11 22:18:53 +00:00
2014-11-20 16:03:24 +00:00
2015-01-11 00:13:23 +00:00
2015-02-25 07:56:25 +00:00
2015-02-25 08:07:24 +00:00
2015-02-25 08:09:25 +00:00
2015-02-25 08:13:26 +00:00
2015-02-25 08:18:26 +00:00
2015-02-25 08:20:26 +00:00
2015-01-16 23:36:22 +00:00
2015-03-05 06:00:26 +00:00
2015-01-16 01:06:24 +00:00
2014-12-01 01:34:24 +00:00
2015-02-27 19:38:27 +00:00
2015-02-27 19:38:27 +00:00
2015-01-10 06:57:22 +00:00
2015-01-16 01:06:24 +00:00
2015-01-11 01:56:22 +00:00
2015-01-25 09:48:21 +00:00
2015-01-16 18:37:24 +00:00
2014-11-24 04:58:22 +00:00
2015-01-17 01:37:22 +00:00
2015-01-03 04:10:21 +00:00
2015-02-23 02:52:24 +00:00
2015-03-05 03:00:26 +00:00
2015-01-16 01:06:24 +00:00
2014-12-01 01:34:24 +00:00
2015-02-05 06:17:21 +00:00
2015-01-06 01:57:22 +00:00
2015-02-27 20:21:24 +00:00
2015-02-23 16:32:25 +00:00
2015-02-26 05:48:24 +00:00
2014-12-06 21:32:24 +00:00
2014-12-06 21:32:24 +00:00
2014-12-06 21:32:24 +00:00
2014-12-01 01:34:24 +00:00
2015-02-26 05:48:24 +00:00
2015-03-01 07:10:26 +00:00
2015-01-17 01:37:22 +00:00
2015-01-16 02:42:22 +00:00
2015-02-13 17:00:27 +00:00
2014-11-30 23:24:25 +00:00
2015-01-16 16:07:23 +00:00
2015-02-13 11:23:26 +00:00
2015-03-05 03:57:24 +00:00
2015-02-06 03:24:23 +00:00
2015-01-10 06:54:23 +00:00
2015-03-05 06:00:26 +00:00
2015-02-27 16:11:25 +00:00
2015-02-05 19:38:23 +00:00
2015-02-06 03:26:22 +00:00
2015-01-12 16:40:23 +00:00
2015-01-16 18:37:24 +00:00
2015-02-22 22:30:25 +00:00
2014-12-20 22:47:22 +00:00
2015-01-12 16:40:23 +00:00
2015-02-23 16:51:25 +00:00
2015-03-05 19:13:25 +00:00
2014-11-30 22:19:25 +00:00
2015-03-01 07:19:24 +00:00
2015-01-08 07:05:25 +00:00
2015-01-12 16:40:23 +00:00
2015-03-02 06:16:26 +00:00
2015-01-04 23:10:21 +00:00
2015-03-05 02:39:24 +00:00
2015-02-14 02:09:25 +00:00
2014-11-30 22:56:25 +00:00
2015-02-14 03:48:27 +00:00
2014-11-03 06:08:22 +00:00
2015-03-02 00:58:25 +00:00
2015-01-16 22:51:21 +00:00
2015-01-19 08:47:24 +00:00
2015-02-27 20:31:26 +00:00
2015-01-16 01:06:24 +00:00
2015-01-17 06:34:23 +00:00
2015-02-09 21:50:29 +00:00
2015-03-04 09:51:26 +00:00
2015-03-05 19:13:25 +00:00
2015-01-16 01:06:24 +00:00
2015-02-09 22:28:28 +00:00
2015-01-29 11:36:22 +00:00