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)
- Cc Brian@… added
- Keywords needs-patch added; has-patch removed
- Version set to 3.0