[wp-trac] [WordPress Trac] #13318: Bug caching get_terms
WordPress Trac
wp-trac at lists.automattic.com
Mon May 10 12:19:19 UTC 2010
#13318: Bug caching get_terms
--------------------------+-------------------------------------------------
Reporter: djudorange | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Taxonomy | Version:
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by momo360modena):
Ok.
But why limit the bulding of the key at the $defaults variable ?
If a developer spends an additional parameter, it’s to be able to work on
filters of the function.
Furthermore, generate the unique key by using $args cannot be blocking. In
the worst, the request will be twice made.
But if the value of the args is different, the user thinks make 2
different things. Thus it is not logical to put in cache with the same
key.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13318#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list