[wp-trac] [WordPress Trac] #17763: comments_popup_link() need a get_* version
WordPress Trac
noreply at wordpress.org
Wed Oct 29 21:30:26 UTC 2014
#17763: comments_popup_link() need a get_* version
-------------------------------------------------+-------------------------
Reporter: dd32 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future
Component: Comments | Release
Severity: normal | Version: 3.2
Keywords: good-first-bug has-patch needs- | Resolution:
testing | Focuses: template
-------------------------------------------------+-------------------------
Comment (by toscho):
There is no need to instantiate the variable with an empty string:
{{{
$output = '';
$output .= '<a href="';
}}}
This could be reduced to:
{{{
$output = '<a href="';
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17763#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list