[wp-trac] [WordPress Trac] #42771: WP_Term::get_instance() regression for non-category terms queried with 'category' taxonomy
WordPress Trac
noreply at wordpress.org
Mon Dec 4 17:48:47 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: 4.9.2
Component: Taxonomy | Version: 4.9
Severity: major | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------
Comment (by markjaquith):
I think this approach could work nicely! Solves the weird cases in the
wild without introducing special case handling to our generic terms
functions.
@juiiee8487 I think we can simplify that even further... `get_tag_link()`
could just call `get_category_link()` since we'll be removing the only
difference between the two functions!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42771#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list