[wp-trac] [WordPress Trac] #36248: Rename from `term_description` to `get_term_description`
WordPress Trac
noreply at wordpress.org
Tue Mar 15 09:56:54 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
------------------------------+------------------------------
Changes (by swissspidy):
* keywords: has-patch => has-patch close
Comment:
With that patch we'd end up with two functions that do exactly the same,
for no real reason.
One rule of thumb in WordPress core development is: Code refactoring
should not be done just because we can.
See https://make.wordpress.org/core/2011/03/23/code-refactoring/ for more
information.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36248#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list