[wp-trac] [WordPress Trac] #9927: deprecate category_description() in favor of get_category_description()
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 27 22:58:53 UTC 2010
#9927: deprecate category_description() in favor of get_category_description()
-------------------------+--------------------------------------------------
Reporter: ramiy | Owner: westi
Type: enhancement | Status: accepted
Priority: normal | Milestone: 3.0
Component: Template | Version: 2.8
Severity: minor | Keywords: has-patch
-------------------------+--------------------------------------------------
Comment(by nacin):
Replying to [comment:9 ramiy]:
> nacin, we can rename term_description() as well.
I wasn't convinced it was worth it because that's three functions to
rename, simply for get_* consistency. Surely we have other functions that
don't start with "get_", especially those that also don't start with
"the_", that return a value. I suppose this is considered a template tag,
so I understand why we should probably do it here.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9927#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list