[wp-trac] [WordPress Trac] #21760: get_term_by() calls are not cached
WordPress Trac
noreply at wordpress.org
Sat Dec 3 04:06:02 UTC 2016
#21760: get_term_by() calls are not cached
-------------------------------+--------------------------
Reporter: wonderboymusic | Owner: ocean90
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.8
Component: Taxonomy | Version: 2.3
Severity: normal | Resolution:
Keywords: early needs-patch | Focuses: performance
-------------------------------+--------------------------
Changes (by dd32):
* keywords: has-patch needs-testing has-unit-tests => early needs-patch
* milestone: 4.7 => 4.8
Comment:
I missed it in the revert, but I retained the tests in
`tests/phpunit/tests/term/getTermBy.php` as they passed before and after,
the tests in `tests/phpunit/tests/term/cache.php` were removed as the
function is back to having no caching (4.6 behaviour).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21760#comment:117>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list