[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 10:30:03 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 juiiee8487):

 Replying to [comment:3 dd32]:
 > [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.

 I have created patch 42771-tag-specific.diff for get_tag_link() based on
 @boonebgorges's 42771.diff

 I hope that will be helpful.

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


More information about the wp-trac mailing list