Jonny Harris
35a678b0e6
Taxonomy: Implement wp_cache_get_multiple in wp_queue_posts_for_term_meta_lazyload.
...
In [47938] the `wp_cache_get_multiple` function was added to core. This function allows for multiple cache keys to be received from cache in a single function call. `wp_queue_posts_for_term_meta_lazyload` function does many calls to cache. To get taxonomy relationship for multiple posts and get all terms. Replace calls to `get_object_term_cache` with calls to `wp_cache_get_multiple` and `_prime_term_caches`. This improves performance on sites that implement the `wp_cache_get_multiple` in their object caching drop-in.
Props spacedmonkey, ocean90, SergeyBiryukov, costdev, flixos90, joemcgill, 10upsimon.
Fixes #57150 .
git-svn-id: https://develop.svn.wordpress.org/trunk@55252 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-07 12:07:46 +00:00
..
2023-02-07 07:01:56 +00:00
2022-04-12 09:24:51 +00:00
2023-02-06 19:41:25 +00:00
2023-02-07 07:01:56 +00:00
2022-10-25 12:17:55 +00:00
2023-01-30 10:25:53 +00:00
2023-02-03 02:12:36 +00:00
2022-10-04 02:06:29 +00:00
2023-01-20 01:34:41 +00:00
2022-12-08 19:29:51 +00:00
2022-12-06 12:17:12 +00:00
2022-12-12 20:19:49 +00:00
2022-02-16 21:17:04 +00:00
2022-12-19 15:10:20 +00:00
2023-02-07 08:53:01 +00:00
2023-02-03 13:33:18 +00:00
2022-09-26 13:58:53 +00:00
2023-02-01 16:13:49 +00:00
2022-03-22 16:23:32 +00:00
2022-11-26 20:59:05 +00:00
2022-09-26 22:41:11 +00:00
2022-11-29 15:49:49 +00:00
2022-04-21 11:22:45 +00:00
2022-09-20 16:24:56 +00:00
2023-02-02 18:50:54 +00:00
2023-02-06 19:38:08 +00:00
2023-02-02 19:36:29 +00:00
2022-11-11 16:24:47 +00:00
2023-01-24 14:40:47 +00:00
2022-06-23 22:55:41 +00:00
2022-08-30 15:14:04 +00:00
2022-10-10 18:20:28 +00:00
2022-10-10 18:20:28 +00:00
2022-11-10 02:59:56 +00:00
2022-11-29 15:49:49 +00:00
2023-02-04 15:16:13 +00:00
2022-08-04 14:50:27 +00:00
2022-06-17 11:18:37 +00:00
2023-02-03 13:33:18 +00:00
2022-06-17 11:18:37 +00:00
2023-01-15 15:22:04 +00:00
2022-12-15 21:30:26 +00:00
2023-02-03 13:33:18 +00:00
2023-02-03 13:33:18 +00:00
2022-01-30 19:23:25 +00:00
2022-01-30 19:23:25 +00:00
2022-01-30 19:23:25 +00:00
2022-09-15 12:30:54 +00:00
2022-05-01 21:59:49 +00:00
2022-01-30 19:23:25 +00:00
2022-11-29 15:49:49 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2023-02-07 07:01:56 +00:00
2022-09-12 15:45:36 +00:00
2023-02-01 15:27:14 +00:00
2022-09-12 15:45:36 +00:00
2023-02-06 15:22:38 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-11-29 20:58:26 +00:00
2022-11-23 21:28:15 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2023-01-30 10:25:53 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2023-01-30 10:25:53 +00:00
2022-11-08 13:27:23 +00:00
2022-11-25 15:10:48 +00:00
2022-11-25 15:10:48 +00:00
2022-11-29 15:49:49 +00:00
2022-09-26 22:41:11 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-10-21 21:10:29 +00:00
2022-12-15 21:30:26 +00:00
2022-12-15 21:30:26 +00:00
2022-09-12 15:45:36 +00:00
2023-01-13 14:20:46 +00:00
2023-01-13 14:20:46 +00:00
2022-09-19 22:51:53 +00:00
2022-09-19 22:51:53 +00:00
2022-10-07 19:15:59 +00:00
2022-11-17 18:13:47 +00:00
2023-02-04 20:45:36 +00:00
2023-01-10 13:59:00 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-10-18 18:14:01 +00:00
2022-09-20 14:24:08 +00:00
2022-09-26 22:08:29 +00:00
2022-11-13 13:49:16 +00:00
2023-02-07 03:08:26 +00:00
2022-09-12 15:45:36 +00:00
2022-09-26 22:08:29 +00:00
2022-09-12 15:45:36 +00:00
2023-02-07 12:07:46 +00:00
2022-10-04 03:57:29 +00:00
2023-01-30 10:25:53 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-10-04 22:59:58 +00:00
2022-09-12 15:45:36 +00:00
2022-10-24 14:54:08 +00:00
2022-09-28 22:17:38 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-10-18 18:14:01 +00:00
2022-09-12 15:45:36 +00:00
2022-09-28 14:57:55 +00:00
2022-11-23 21:28:15 +00:00
2022-11-26 09:37:18 +00:00
2023-01-18 09:56:55 +00:00
2022-09-12 15:45:36 +00:00
2023-01-30 15:22:17 +00:00
2023-01-30 15:22:17 +00:00
2022-12-20 15:10:35 +00:00
2022-10-11 14:58:03 +00:00
2023-02-06 15:31:50 +00:00
2022-09-12 15:45:36 +00:00
2023-02-03 18:23:55 +00:00
2023-02-06 19:57:41 +00:00
2022-11-08 17:29:48 +00:00
2022-09-12 15:45:36 +00:00
2022-11-29 15:49:49 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-09-12 15:45:36 +00:00
2022-11-26 09:37:18 +00:00
2022-10-18 16:09:50 +00:00
2023-01-28 20:56:10 +00:00
2022-09-20 14:15:25 +00:00
2022-09-20 14:15:25 +00:00
2022-09-20 14:15:25 +00:00
2022-12-12 11:49:40 +00:00
2023-02-03 14:45:42 +00:00
2023-01-25 01:38:59 +00:00
2023-01-31 17:48:45 +00:00
2022-06-17 11:18:37 +00:00
2022-09-20 01:34:49 +00:00
2023-02-03 00:13:52 +00:00
2023-02-03 03:56:10 +00:00
2022-06-17 11:18:37 +00:00
2022-08-19 22:05:00 +00:00
2022-04-29 19:15:57 +00:00
2022-11-26 20:59:05 +00:00
2022-06-20 21:44:27 +00:00
2023-02-07 03:32:43 +00:00
2023-02-03 13:33:18 +00:00
2023-01-15 14:55:19 +00:00
2023-01-15 14:55:19 +00:00
2023-02-03 13:33:18 +00:00
2023-02-02 18:50:54 +00:00
2022-12-15 21:30:26 +00:00
2022-08-11 14:09:04 +00:00
2023-02-01 22:50:11 +00:00
2023-02-02 21:29:53 +00:00
2023-02-06 21:28:15 +00:00
2023-01-26 23:01:10 +00:00
2023-02-02 02:14:02 +00:00
2023-02-07 12:06:33 +00:00
2022-10-13 17:22:59 +00:00
2023-01-26 23:01:10 +00:00
2022-07-14 13:33:12 +00:00
2022-09-20 02:49:25 +00:00
2022-12-09 11:52:58 +00:00
2023-01-30 10:25:53 +00:00
2022-11-29 15:49:49 +00:00
2022-10-18 18:14:01 +00:00
2022-12-07 21:17:52 +00:00
2023-01-12 23:23:01 +00:00
2022-12-14 22:52:11 +00:00
2023-01-05 15:25:44 +00:00
2023-02-06 21:28:15 +00:00
2022-08-01 11:13:13 +00:00
2023-01-19 08:51:41 +00:00
2023-01-19 07:32:28 +00:00
2023-02-07 12:07:46 +00:00
2022-12-13 12:24:17 +00:00
2023-01-20 00:19:09 +00:00
2022-11-24 14:16:18 +00:00
2022-12-15 11:01:34 +00:00
2022-04-06 15:31:23 +00:00
2022-03-22 16:23:32 +00:00
2023-02-07 07:01:56 +00:00
2023-01-23 16:33:57 +00:00
2022-09-14 12:46:33 +00:00
2022-12-27 12:21:35 +00:00
2022-12-22 11:06:10 +00:00
2022-09-21 11:41:44 +00:00
2023-01-18 11:38:16 +00:00
2023-02-01 18:05:44 +00:00
2023-02-03 00:13:52 +00:00
2022-11-29 15:49:49 +00:00
2023-01-30 10:25:53 +00:00
2022-04-27 13:45:57 +00:00
2022-10-18 20:03:57 +00:00
2023-02-03 00:13:52 +00:00
2022-07-21 22:43:24 +00:00