diff --git src/wp-includes/template.php src/wp-includes/template.php
index 14e7eba..380bb47 100644
|
|
|
function get_category_template() { |
| 174 | 174 | |
| 175 | 175 | $templates = array(); |
| 176 | 176 | |
| 177 | | if ( ! empty( $category->slug ) ) { |
| 178 | | $decoded_slug = urldecode($category->slug); |
| 179 | | $templates[] = "category-{$decoded_slug}.php"; |
| | 177 | if ( ! empty( $category->slug ) ) { |
| | 178 | $templates[] = "category-{$category->slug}.php"; |
| 180 | 179 | $templates[] = "category-{$category->term_id}.php"; |
| 181 | 180 | } |
| 182 | 181 | $templates[] = 'category.php'; |