id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 14315,comments_template() generates bad theme-compat path,dougal,westi,"In the final fallback case of `comments_template()` it attempts to include `theme-compat/comments.php`, however, the path it generates is incorrect, because it fails to prepend `ABSPATH`. This causes an error to be output to the page in older themes that rely on this feature. {{{ Warning: require(wp-includes/theme-compat/comments.php): failed to open stream: No such file or directory in /var/www/vhosts/example.com/wordpress/wp-includes/comment-template.php on line 920 Fatal error: require(): Failed opening required 'wp-includes/theme-compat/comments.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/vhosts/example.com/wordpress/wp-includes/comment-template.php on line 920 }}} ",defect (bug),closed,normal,3.0.1,Template,3.0,major,fixed,has-patch,,