[wp-trac] [WordPress Trac] #35265: get_the_terms return on non-existing term
WordPress Trac
noreply at wordpress.org
Wed Dec 30 16:56:23 UTC 2015
#35265: get_the_terms return on non-existing term
--------------------------+------------------------
Reporter: tivnet | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 4.4
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Comment (by tivnet):
Replying to [comment:4 swissspidy]:
> Long story short: Your patch prevents the `get_the_terms` filter being
called, otherwise nothing else changes.
The main idea was to avoid notice on non-array.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35265#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list