Index: src/wp-includes/functions.php
===================================================================
--- src/wp-includes/functions.php	(revision 42404)
+++ src/wp-includes/functions.php	(working copy)
@@ -5409,16 +5409,19 @@
  * @access private
  *
  * @param array  $object_ids ID list.
- * @param string $cache_key  The cache bucket to check against.
+ * @param string $group  The cache bucket to check against.
  *
  * @return array List of ids not present in the cache.
  */
-function _get_non_cached_ids( $object_ids, $cache_key ) {
-	$clean = array();
-	foreach ( $object_ids as $id ) {
-		$id = (int) $id;
-		if ( ! wp_cache_get( $id, $cache_key ) ) {
-			$clean[] = $id;
+function _get_non_cached_ids( $object_ids, $group ) {
+	$clean        = array();
+	$object_ids   = array_map( $object_ids, 'intval' );
+	$groups       = array( $group => $object_ids );
+	$cache_result = wp_cache_get_multiple( $groups );
+
+	foreach ( $cache_result as $key => $value ) {
+		if ( false === $value ) {
+			$clean[] = $key;
 		}
 	}
 
