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

WordPress Trac noreply at wordpress.org
Thu Jun 2 08:56:34 UTC 2016


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

Comment (by spacedmonkey):

 I think it is important this is in core ASAP. Third party plugins have
 supported get multi for years and other plugin providers already started
 using the function. Example is this.

 https://github.com/Automattic/advanced-post-cache/blob/master/advanced-
 post-cache.php#L128

 Get multi needs to be in core for the simple reason that a consistent api
 needed in place to stop future issues with plugins like the above.

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


More information about the wp-trac mailing list