[wp-trac] [WordPress Trac] #32830: get_taxonomy_labels() does not check for the existence of the labels property
WordPress Trac
noreply at wordpress.org
Mon Jun 29 19:02:29 UTC 2015
#32830: get_taxonomy_labels() does not check for the existence of the labels
property
-------------------------------------+------------------------------
Reporter: ipm-frommen | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: close reporter-feedback | Focuses:
-------------------------------------+------------------------------
Changes (by boonebgorges):
* keywords: => close reporter-feedback
Comment:
In what situation would a taxonomy object not have a `labels` property? In
`register_taxonomy()`, it's enforced:
https://core.trac.wordpress.org/browser/tags/4.2.2/src/wp-
includes/taxonomy.php?marks=330,347,414#L323
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32830#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list