Add missing dash. Bug 713.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fdb5bdb740
commit
e8aff31d6e
|
@ -238,7 +238,7 @@ if ($pagenow == 'index.php') {
|
|||
include(get_page_template());
|
||||
exit;
|
||||
} else if ( is_category() && file_exists("$wp_template_dir/category-" . get_query_var('cat') . '.php') ) {
|
||||
include("$wp_template_dir/category" . get_query_var('cat') . '.php');
|
||||
include("$wp_template_dir/category-" . get_query_var('cat') . '.php');
|
||||
exit;
|
||||
} else if ( is_category() && file_exists("$wp_template_dir/category.php") ) {
|
||||
include("$wp_template_dir/category.php");
|
||||
|
|
Loading…
Reference in New Issue