[wp-trac] [WordPress Trac] #36248: Rename from `term_description` to `get_term_description`
WordPress Trac
noreply at wordpress.org
Tue Mar 15 09:25:07 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 | Focuses: template
------------------------------+------------------------------
Changes (by sebastian.pisula):
* keywords: close => has-patch
Comment:
In my patch is in deprecated file:
{{{#!php
<?php
function term_description( $term = 0, $taxonomy = 'post_tag' ) {
_deprecated_function( __FUNCTION__, '4.5',
'get_term_description()' );
return get_term_description( $term, $taxonomy );
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36248#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list