mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00:00
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -604,13 +604,13 @@ function get_category_template() {
|
||||
$category = get_category( $cat_ID );
|
||||
|
||||
$templates = array();
|
||||
|
||||
|
||||
if ( !is_wp_error($category) )
|
||||
$templates[] = "category-{$category->slug}.php";
|
||||
|
||||
$templates[] = "category-$cat_ID.php";
|
||||
$templates[] = "category.php";
|
||||
|
||||
$templates[] = "category.php";
|
||||
|
||||
$template = locate_template($templates);
|
||||
return apply_filters('category_template', $template);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user