[wp-trac] [WordPress Trac] #42771: WP_Term::get_instance() regression for non-category terms queried with 'category' taxonomy

WordPress Trac noreply at wordpress.org
Sat Dec 2 03:02:04 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:
--------------------------+--------------------
Changes (by dd32):

 * keywords:   => has-patch


Comment:

 [attachment:42771.diff] seems like a good direction to me - just make the
 category-specific functions not care if it's an actual category or not. We
 could probably do the same to the tag-specific functions if any of those
 exist.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42771#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list