[wp-trac] [WordPress Trac] #17763: comments_popup_link() need a get_* version
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 11 21:06:55 UTC 2011
#17763: comments_popup_link() need a get_* version
-------------------------+-----------------------------
Reporter: dd32 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Template | Version: 3.2
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------------
Changes (by kawauso):
* keywords: needs-patch => has-patch
Comment:
The following patch:
* Introduces `get_comments_popup_link()`
* Drops @return null Returns null on single posts and pages (this never
worked as no other values were ever returned)
* Changes most @param to `bool|string`
* Adds `$echo` parameter to `comments_number()` (`get_comments_number()`
returns the raw number, not the template used by `comments_number()`)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17763#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list