320press/wordpress-bootstrap — pull request #217 by eoghanmurray (2014-10-09 09:59:27+00:00)
Title: Don't show 'comments are closed' on pages that have comments turned off

There seems to have been an error in the comment logic in the original import (based on bones).
The upshot is that the 'Comments are closed' message gets displayed even if comments are turned off for a page.
I think the error was that the 'else' at line 51 snuck in. It was indented so it was hard to see that it incorrectly closes off the outer 'if ( have_comments() )'. Aside: +1 for Python's style of indentation.
I've used the twentyfourteen theme as a reference to make this patch.