[wp-trac] Re: [WordPress Trac] #4832: In comments_popup_link(),
why bomb out when on a page or single post?
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 29 01:12:42 GMT 2008
#4832: In comments_popup_link(), why bomb out when on a page or single post?
------------------------------------+---------------------------------------
Reporter: JeremyVisser | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: Template | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+---------------------------------------
Changes (by AaronCampbell):
* keywords: => has-patch dev-feedback
* milestone: 2.9 => 2.7
Comment:
I agree with Jeremy. I know comments_popup_link is not USUALLY used on a
static page, but it seems like you should be ABLE to use it on a static
page. Especially with static front pages.
I think it's rather common to have a static front page, with a small
section where the most recent, most popular, or featured posts are placed.
It seems like a serious waste to have to duplicate the entire function
just to drop a 2 line check.
I'm attaching a patch for 2.7
--
Ticket URL: <http://trac.wordpress.org/ticket/4832#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list