[wp-trac] [WordPress Trac] #39038: Add support for non-split shared terms to singular term capabilities
WordPress Trac
noreply at wordpress.org
Sun Dec 4 17:51:52 UTC 2016
#39038: Add support for non-split shared terms to singular term capabilities
--------------------------+--------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7.1
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+--------------------
Comment (by dd32):
> Or can we assume that all calls to get_term() cannot be considered
reliable for non-split shared terms when the $taxonomy parameter isn't
specified?
Exactly that. When terms are not split, calling `get_term()` without a
`$taxonomy` param will fail hard when you attempt to fetch it.
I'm almost fine with saying that terms should be split at this point, I'm
not sure how far ahead we can support them not being split.
One option that @nacin suggested, was when we encounter a non-split term
in an auth-situation was to cause it to be split.. something that
shouldn't be hit very often.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39038#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list