[wp-trac] [WordPress Trac] #36248: Rename from `term_description` to `get_term_description`

WordPress Trac noreply at wordpress.org
Tue Mar 15 09:21:10 UTC 2016


#36248: Rename from `term_description` to `get_term_description`
------------------------------+------------------------------
 Reporter:  sebastian.pisula  |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Taxonomy          |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  close             |     Focuses:  template
------------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => close
 * focuses:   => template
 * component:  General => Taxonomy


Comment:

 We can't simply rename a function due to backwards compatibility.

 The only option would be a `the_term_description()` function, although I
 don't see a need for that.

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


More information about the wp-trac mailing list