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

WordPress Trac noreply at wordpress.org
Fri Nov 17 16:46:29 UTC 2017


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

Comment (by torben.tschechne@…):

 Hey @nikolov.tmw - I have not used term_description before. I have used
 {{{
 category_description( $category_id );
 }}}

 In 4.8.3 and it returned the description of the product category. But in
 4.9 this stopped working - when using category_description I have not the
 possibility to define a taxonomy. So maybe this was a bug in 4.8.3 and I
 had a benefit from this bug ...?

 When I use:

 {{{
 term_description($product_cat_id, 'product_cat');
 }}}

 It does work in 4.9

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


More information about the wp-trac mailing list