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

WordPress Trac noreply at wordpress.org
Mon Dec 4 21:48:28 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:
Component:  Taxonomy            |     Version:  4.9
 Severity:  normal              |  Resolution:  fixed
 Keywords:                      |     Focuses:
--------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * resolution:  invalid => fixed


Comment:

 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/42605#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list