[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 21:48:26 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 boonebgorges):

 In [changeset:"42368"]:
 {{{
 #!CommitTicketReference repository="" revision="42368"
 `category_description()` should be taxonomy-agnostic.

 This change reinstates the previous de facto behavior of
 `category_description()`.
 See [40979], [42364]. Because `term_description()` no longer passes
 `$taxonomy` to
 `get_term_field()`, the parameter is no longer needed and has been
 deprecated.

 Fixes #42605. See #42771.
 }}}

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


More information about the wp-trac mailing list