﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
18985	twentyeleven_setup should use get_template_directory() instead of __FILE__	TomAuger	nacin	"Since this is a pluggable function, which would be over-ridden in the child theme's directory, and since we want to make it as ''easy'' as possible for new developers to extend the parent theme, consider 
{{{
require( get_template_directory() . '/inc/theme-options.php' );
require( get_template_directory() . '/inc/widgets.php' );
}}}

instead of using 
{{{ 
require( __FILE__ . '/inc/theme-options.php' );
require( __FILE__ . '/inc/widgets.php' );
}}}

__FILE__ breaks the theme and throws errors the moment twentyeleven_setup is defined somewhere within the child theme's directory structure, whereas {{{ get_template_directory() }}} will always point to TwentyEleven."	enhancement	closed	normal	3.3	Bundled Theme	3.2.1	minor	fixed		knut@…
