[wp-trac] [WordPress Trac] #54574: Add wp_cache_*_multiple function
WordPress Trac
noreply at wordpress.org
Fri Dec 3 19:30:36 UTC 2021
#54574: Add wp_cache_*_multiple function
--------------------------+------------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cache API | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: performance
--------------------------+------------------------------
Comment (by spacedmonkey):
One the major things to need to decide to function signature. Here are
some function signatures to consider.
{{{#!php
function wp_cache_multiple_set( array $keys, array $values, array $groups
)
}}}
{{{#!php
function wp_cache_multiple_set( array $data )
$data = array( array( 'key' => 'test', 'value' => 'tool', 'group' =>
'test'));
}}}
{{{#!php
function wp_cache_multiple_set( array $key_value_pair, $group )
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54574#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list