[wp-trac] [WordPress Trac] #40671: Calling get_term() with just ID, then calling it again with ID and a different taxonomy returns the same term

WordPress Trac noreply at wordpress.org
Sat Jul 1 11:43:28 UTC 2017


#40671: Calling get_term() with just ID, then calling it again with ID and a
different taxonomy returns the same term
--------------------------+--------------------
 Reporter:  GunGeekATX    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9
Component:  Taxonomy      |     Version:  4.7.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------
Changes (by boonebgorges):

 * milestone:  Awaiting Review => 4.9


Comment:

 @GunGeekATX Thanks for the ping, and for the ticket + patch. I've
 confirmed the issue and written a unit test to match. Your suggested fix
 looks good to me - I'm going to make a minor modification to the order in
 which it runs, and go with it.

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


More information about the wp-trac mailing list