[wp-trac] [WordPress Trac] #43381: Remove 'category' parameter from category_description function.

WordPress Trac noreply at wordpress.org
Wed Mar 28 19:59:52 UTC 2018


#43381: Remove 'category' parameter from category_description function.
--------------------------+--------------------
 Reporter:  chetan200891  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.0
Component:  Taxonomy      |     Version:  4.9.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review => 5.0


Old description:

> Based on [[https://core.trac.wordpress.org/ticket/42771|#42771]]
> `term_description()` no longer passes $taxonomy to
> `get_term_field()`, the parameter is no longer needed and has been
> deprecated. So I think now we can remove 'category' parameter from
> `category_description` function.

New description:

 Based on #42771 `term_description()` no longer passes $taxonomy to
 `get_term_field()`, the parameter is no longer needed and has been
 deprecated. So I think now we can remove 'category' parameter from
 `category_description` function.

--

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


More information about the wp-trac mailing list