Changeset 7586 for trunk/wp-includes/theme.php
- Timestamp:
- 04/02/2008 01:15:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r7491 r7586 364 364 function get_category_template() { 365 365 $template = ''; 366 if ( file_exists(TEMPLATEPATH . "/category-" . get_query_var('cat') . '.php') )367 $template = TEMPLATEPATH . "/category-" . get_query_var('cat') . '.php';366 if ( file_exists(TEMPLATEPATH . "/category-" . absint( get_query_var('cat') ) . '.php') ) 367 $template = TEMPLATEPATH . "/category-" . absint( get_query_var('cat') ) . '.php'; 368 368 elseif ( file_exists(TEMPLATEPATH . "/category.php") ) 369 369 $template = TEMPLATEPATH . "/category.php";
Note: See TracChangeset
for help on using the changeset viewer.