[wp-trac] [WordPress Trac] #13009: When inheriting twentyten's comments.php, theme breaks.
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 15 00:16:17 UTC 2010
#13009: When inheriting twentyten's comments.php, theme breaks.
--------------------------+-------------------------------------------------
Reporter: ptahdunbar | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Template | Version: 3.0
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
If a theme has no comments.php file, WP falls back to twentyten's
comments.php file.
This breaks the theme because twentyten requires twentyten_comment()
(defined in functions.php) which isn't loaded, causing a fatal error.
Patch moves twentyten_comment() from functions.php into the top of
comments.php. Fixes fatal error.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13009>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list