[wp-trac] [WordPress Trac] #20469: Twenty Eleven: better closed comments notes

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 17 20:42:21 UTC 2012


#20469: Twenty Eleven: better closed comments notes
---------------------------+------------------------------
 Reporter:  iandstewart    |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  3.4
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------------------

Comment (by nacin):

 Rather than using get_comments_number(), could we bring this inside the
 check above that uses have_comments()?

 The one issue with using either get_comments_number() or have_comments()
 is that they both will count pings as a comment, when in reality the user
 may have only pings open but comments always closed. This isn't entirely
 uncommon; I've seen people try to push people to responding on their own
 blog and this would be a good way to do it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20469#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list