[wp-trac] [WordPress Trac] #10177: get_ version of comments_number()
WordPress Trac
noreply at wordpress.org
Sun Jun 29 23:12:35 UTC 2014
#10177: get_ version of comments_number()
----------------------------+-----------------------------
Reporter: nbachiyski | Owner: wonderboymusic
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.0
Component: Comments | Version: 2.8
Severity: normal | Resolution: fixed
Keywords: has-patch i18n | Focuses: template
----------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"28912"]:
{{{
#!CommitTicketReference repository="" revision="28912"
Add a function, `get_comments_number_text()`, that returns instead of
echoing. `comments_number()` wraps it.
Props kapeels, nbachiyski.
Fixes #10177.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/10177#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list