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

WordPress Trac noreply at wordpress.org
Tue Nov 21 09:18:06 UTC 2017


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

 * status:  new => closed
 * resolution:   => invalid


Comment:

 category_description() function only return the default WordPress post
 category description. For custom taxonomy category description you have to
 use term_description() function.

 https://codex.wordpress.org/Function_Reference/category_description

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


More information about the wp-trac mailing list