[wp-trac] [WordPress Trac] #35808: get_term() possible PHP fatal error
WordPress Trac
noreply at wordpress.org
Fri Feb 12 14:25:07 UTC 2016
#35808: get_term() possible PHP fatal error
-------------------------+-------------------------------------------------
Reporter: tmuikku | Owner: boonebgorges
Type: defect | Status: closed
(bug) | Milestone: 4.5
Priority: normal | Version: 4.4
Component: General | Resolution: fixed
Severity: normal | Focuses: ui, template, multisite,
Keywords: | performance
-------------------------+-------------------------------------------------
Changes (by boonebgorges):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"36516"]:
{{{
#!CommitTicketReference repository="" revision="36516"
Bail from `get_term()` if a filter returns an object that is not a
`WP_Term`.
This prevents fatal errors in certain cases.
Props tmuikku.
Fixes #35808.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35808#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list