Sergey Biryukov
5d7297d031
Cache API: Reorder object cache functions and methods for consistency.
...
The original order was alphabetical, which became less obvious as newer functions got added, resulting in a somewhat random order.
This commits aims to organize the functions and related `WP_Object_Cache` methods in a more predictable order:
* `wp_cache_init()`
* `wp_cache_add()`
* `wp_cache_add_multiple()`
* `wp_cache_replace()`
* `wp_cache_set()`
* `wp_cache_set_multiple()`
* `wp_cache_get()`
* `wp_cache_get_multiple()`
* `wp_cache_delete()`
* `wp_cache_delete_multiple()`
* `wp_cache_incr()`
* `wp_cache_decr()`
* `wp_cache_flush()`
* `wp_cache_close()`
* `wp_cache_add_global_groups()`
* `wp_cache_add_non_persistent_groups()`
* `wp_cache_switch_to_blog()`
* `wp_cache_reset()`
Follow-up to [3011], [6543], [7986], [13066], [18580], [21403], [47938], [52700], [52703-52705].
See #54728 , #54574 .
git-svn-id: https://develop.svn.wordpress.org/trunk@52706 602fd350-edb4-49c9-b593-d223f7449a82
2022-02-11 18:47:38 +00:00
..
2021-11-04 15:22:47 +00:00
2022-01-12 23:29:03 +00:00
2021-12-14 15:31:14 +00:00
2021-11-04 15:22:47 +00:00
2022-01-04 05:37:25 +00:00
2022-02-11 12:12:56 +00:00
2021-12-21 00:10:26 +00:00
2021-11-04 15:22:47 +00:00
2021-08-26 12:57:08 +00:00
2021-11-19 20:22:43 +00:00
2021-11-08 14:21:44 +00:00
2021-08-30 15:19:38 +00:00
2021-11-04 15:22:47 +00:00
2022-01-21 05:58:13 +00:00
2021-11-25 19:39:31 +00:00
2022-02-08 23:39:32 +00:00
2021-08-20 16:11:04 +00:00
2021-08-21 15:32:53 +00:00
2021-12-30 16:27:48 +00:00
2021-12-06 21:29:00 +00:00
2021-11-04 15:22:47 +00:00
2021-12-14 14:59:33 +00:00
2021-12-15 19:59:32 +00:00
2021-11-11 16:27:44 +00:00
2021-12-19 13:42:37 +00:00
2021-12-15 19:59:32 +00:00
2021-12-19 13:42:37 +00:00
2021-11-04 15:22:47 +00:00
2022-01-30 19:40:57 +00:00
2021-11-25 19:39:31 +00:00
2021-12-02 05:39:57 +00:00
2021-11-04 15:22:47 +00:00
2021-11-16 21:23:12 +00:00
2021-11-25 19:39:31 +00:00
2021-11-25 19:39:31 +00:00
2021-11-18 15:10:18 +00:00
2022-01-04 15:22:40 +00:00
2021-12-10 20:28:27 +00:00
2021-11-04 15:22:47 +00:00
2021-12-19 13:42:37 +00:00
2021-08-07 10:29:41 +00:00
2022-01-14 17:50:52 +00:00
2022-01-04 14:23:56 +00:00
2021-12-19 13:42:37 +00:00
2021-11-04 15:22:47 +00:00
2021-08-07 10:29:41 +00:00
2021-12-19 13:42:37 +00:00
2022-02-05 13:19:53 +00:00
2020-11-15 13:59:32 +00:00
2022-01-19 13:16:44 +00:00
2021-12-06 21:29:00 +00:00
2021-08-16 20:16:13 +00:00
2021-12-19 13:42:37 +00:00
2021-12-19 13:42:37 +00:00
2021-11-04 15:22:47 +00:00
2021-11-15 01:08:35 +00:00
2021-08-06 21:52:06 +00:00
2021-11-04 15:22:47 +00:00
2021-12-07 12:10:36 +00:00
2022-02-09 13:20:49 +00:00
2022-02-11 18:47:38 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-12-19 13:42:37 +00:00
2021-11-19 18:58:14 +00:00
2021-11-04 15:22:47 +00:00
2021-12-07 17:44:46 +00:00
2021-12-19 13:42:37 +00:00
2021-11-04 15:22:47 +00:00
2021-12-06 21:29:00 +00:00
2021-08-26 12:57:08 +00:00
2021-08-26 12:57:08 +00:00
2021-12-06 11:06:40 +00:00
2021-11-27 16:16:15 +00:00
2021-11-04 15:22:47 +00:00
2021-08-07 10:29:41 +00:00
2021-11-04 15:22:47 +00:00
2021-11-16 21:23:12 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2022-02-11 18:47:38 +00:00
2021-12-19 13:42:37 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-12-19 13:42:37 +00:00
2021-08-26 12:57:08 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2021-12-19 13:42:37 +00:00
2021-08-07 10:29:41 +00:00
2022-01-30 19:40:57 +00:00
2022-01-04 18:38:52 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2022-01-29 14:23:59 +00:00
2021-11-04 15:22:47 +00:00
2021-11-27 16:16:15 +00:00
2021-08-07 10:29:41 +00:00