[wp-trac] [WordPress Trac] #42771: WP_Term::get_instance() regression for non-category terms queried with 'category' taxonomy
WordPress Trac
noreply at wordpress.org
Fri Dec 1 18:16:16 UTC 2017
#42771: WP_Term::get_instance() regression for non-category terms queried with
'category' taxonomy
--------------------------+------------------------------
Reporter: markjaquith | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.9
Severity: major | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by markjaquith):
#40671 was that prompted this code change. The change was intentional, but
some of the effects were not explicitly discussed.
Maybe we could have a `doing_it_wrong()` for people who are calling
category functions on non-category term IDs.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42771#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list