[wp-trac] [WordPress Trac] #30620: get_term_by( 'term_taxonomy_id' ) should NOT require $taxonomy param

WordPress Trac noreply at wordpress.org
Tue Oct 13 03:30:05 UTC 2015


#30620: get_term_by( 'term_taxonomy_id' ) should NOT require $taxonomy param
-------------------------+---------------------------
 Reporter:  joehoyle     |       Owner:  boonebgorges
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.4
Component:  Taxonomy     |     Version:  3.7
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+---------------------------

Comment (by rmccue):

 FYI, this change to `get_term_by` [https://github.com/WP-API/WP-
 API/pull/1644 broke the REST API], since we relying on the check. We've
 fixed it, but might be worth noting in a field notes post for others that
 it might break.

 (Accidentally commented on #14162, but that's unrelated.)

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


More information about the wp-trac mailing list