When checking to see if terms are in the cache, if statement should check to see if exactly false, not empty
|Reported by:||wpdavis||Owned by:|
In two instances, core checks to see if terms are in the cache by seeing if $terms is empty. Instead, use ===, as checking if is empty can return a false positive and there are no terms for the object.
Change History (5)
comment:3 brianlayman — 2 years ago
- Cc Brian@… added
- Keywords needs-patch added; has-patch removed
- Version set to 3.0
Note: See TracTickets for help on using tickets.