Changes between Initial Version and Version 1 of Ticket #59592, comment 26
- Timestamp:
- 05/23/2025 08:27:47 AM (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59592, comment 26
initial v1 15 15 16 16 I want to avoid doing another `wp_cache_get_last_changed`, as this might result in a remote cache get ( like in the case of @rmccue ). That is why I am passing `$last_changed` into the function instead of passing `$cache_group`. 17 18 Update: 19 20 $last_changed has to be a passed in, as there is the following code in WP_Query. 21 {{{#!php 22 $last_changed = wp_cache_get_last_changed( 'posts' ); 23 if ( ! empty( $this->tax_query->queries ) ) { 24 $last_changed .= wp_cache_get_last_changed( 'terms' ); 25 } 26 }}} 27 28 Reviewing feedback, I see the need for multiple calls, so `wp_cache_get_muliple_query_data` or `wp_query_cache_get_multiple`. 29