[wp-trac] [WordPress Trac] #33281: get_term_by() not returning false if ID does not exist
WordPress Trac
noreply at wordpress.org
Wed Sep 16 06:42:48 UTC 2015
#33281: get_term_by() not returning false if ID does not exist
--------------------------+---------------------------
Reporter: charlestonsw | Owner: boonebgorges
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.4
Component: Taxonomy | Version: 2.3
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------------
Changes (by tyxla):
* keywords: needs-unit-tests => has-patch
Comment:
I've just added a patch with the unit test that demonstrates that case.
The patch also contains a refreshed version of the previous patch by
@charlestonsw, as it needed refresh due to the recent changes in [33760].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33281#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list