[wp-trac] [WordPress Trac] #20875: Introduce wp_cache_get_multi()

WordPress Trac noreply at wordpress.org
Mon Mar 13 05:52:56 UTC 2017


#20875: Introduce wp_cache_get_multi()
-------------------------------------------------+-------------------------
 Reporter:  nacin                                |       Owner:
     Type:  enhancement                          |  boonebgorges
 Priority:  normal                               |      Status:  assigned
Component:  Cache API                            |   Milestone:  Future
 Severity:  normal                               |  Release
 Keywords:  has-patch has-unit-tests 2nd-        |     Version:
  opinion                                        |  Resolution:
                                                 |     Focuses:
-------------------------------------------------+-------------------------

Comment (by spacedmonkey):

 Good to see progress on this ticket. Regarding getting feedback for drop-
 in authors, we can reach out to some of them on slack and see what they
 say. I know that many of the most interested parties have already set this
 ticket to watched anyway. But I am worried that if this is left hanging
 anymore it will get held up. Maybe we could set a hard deadline for
 feedback of say, 4 weeks. If we don't hear back from them in this time,
 just go a head. We can keep backwards compatibility by using
 function_exists in the right places.

 A reviewed the core for good places to implement a multi get and found
 these functions.

 update_meta_cache
 update_object_term_cache
 _get_non_cached_ids

 All of these a simple for each loops from one group, so should be too
 painful.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/20875#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list