[wp-trac] [WordPress Trac] #42605: category_description() does not work properly since 4.9

WordPress Trac noreply at wordpress.org
Mon Dec 4 22:03:56 UTC 2017


#42605: category_description() does not work properly since 4.9
--------------------------------+---------------------------
 Reporter:  torben.tschechne@…  |       Owner:  boonebgorges
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.9.2
Component:  Taxonomy            |     Version:  4.9
 Severity:  normal              |  Resolution:  fixed
 Keywords:                      |     Focuses:
--------------------------------+---------------------------

Comment (by boonebgorges):

 In [changeset:"42372"]:
 {{{
 #!CommitTicketReference repository="" revision="42372"
 `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.

 Merges [42368] to the 4.9 branch.

 Fixes #42605. See #42771.
 }}}

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


More information about the wp-trac mailing list