[wp-trac] [WordPress Trac] #37291: Check for WP_Error before echo in the_tags()
WordPress Trac
noreply at wordpress.org
Tue Oct 11 03:26:13 UTC 2016
#37291: Check for WP_Error before echo in the_tags()
-------------------------------------+---------------------------
Reporter: michalzuber | Owner: boonebgorges
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.6.2
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+---------------------------
Comment (by dd32):
In [changeset:"38777"]:
{{{
#!CommitTicketReference repository="" revision="38777"
Taxonomy: Avoid a fatal error in `the_tags()` in the event that
`get_the_term_list()` returns a WP_Error.
Props michalzuber.
See #37291.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37291#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list