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

WordPress Trac noreply at wordpress.org
Wed Mar 16 09:04:15 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:  has-patch close   |     Focuses:  template
------------------------------+------------------------------

Comment (by SergeyBiryukov):

 We could probably add `get_the_term_description()` as an alias (there was
 a precedent in [27409]) and `the_term_description()` as a template tag,
 although I don't see a need for that either.

 See the list of all `the_*` and `get_the_*` functions in
 comment:28:ticket:24164 for reference.

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


More information about the wp-trac mailing list