[wp-trac] [WordPress Trac] #20875: Introduce wp_cache_get_multi()
WordPress Trac
noreply at wordpress.org
Sun Mar 12 19:30:50 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 boonebgorges):
Replying to [comment:31 johnjamesjacoby]:
> This ticket is relevant to my interests.
>
> I followed Memcached's approach in [https://github.com/stuttter/wp-
spider-cache/blob/master/wp-spider-cache/includes/functions.php#L448 WP
Spider Cache], and it feels the most WordPress-like in it's signature to
me.
>
IMO, it feels WordPress-like in all the worst ways (doing one magic thing
with a string `$groups`, and a different magic thing with an array), but
as noted in [comment:16], my feelings aren't particularly strong one
direction or another.
To move this forward, someone needs to make the call about syntax and
function naming. Authors of existing drop-ins (excepting @johnjamesjacoby)
don't seem eager to wade into this discussion, so I think we need an
executive decision. I nominate @dd32 to make that decision, unless he
wants to delegate his authority to me ;)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20875#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list