mirror of
git://develop.git.wordpress.org/
synced 2025-03-21 12:29:53 +01:00
Increase the number of cache hits in `WP_Term_Query` by normalizing data included in the cache key. Arguments that do not affect the SQL query, eg `update_term_meta_cache`, are removed from cache key generation. Arguments that are accepted in multiple formats, eg a string and an array, are normalized for both the cache key and the SQL query. Props spacedmonkey. Fixes #55352. git-svn-id: https://develop.svn.wordpress.org/trunk@52970 602fd350-edb4-49c9-b593-d223f7449a82