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

WordPress Trac noreply at wordpress.org
Fri Nov 17 16:35:38 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 nikolov.tmw):

 Hi @torben.tschechne at gmail.com, does your second example work in 4.8.3? I
 think in this case you might have been using the function wrong. See -
 you're supplying the second parameter, but it's incorrect - if the
 `$category` term is in fact from the `product_cat` taxonomy, then why not
 just use `product_cat`?

 The Codex says that the second parameter is optional. So perhaps try
 with(`product_cat`) and without the second parameter in 4.8.3 and if that
 works, then maybe it used to work incorrectly before.

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


More information about the wp-trac mailing list