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

WordPress Trac noreply at wordpress.org
Tue Dec 19 20:48:18 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:  4.9.2
Component:  Taxonomy            |     Version:  4.9
 Severity:  normal              |  Resolution:  fixed
 Keywords:  fixed-major         |     Focuses:
--------------------------------+---------------------------

Comment (by boonebgorges):

 Replying to [comment:11 jorbin]:
 > @boonebgorges Should we throw a deprecation notice here in case people
 are expecting a different behavior?

 It's hard to see what this would look like. Uses of
 `category_description()` and friends will work the same as how they worked
 prior to 4.9. If anything, I'd imagine that the appropriate change would
 be a `_doing_it_wrong()` when passing a `$term_id` to
 `category_description()` that matches a term that is not, in fact, a
 `category`. But this also seems as if it might be overkill for a fairly
 harmless bit of backward compat overhead.

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


More information about the wp-trac mailing list