Changeset 4116
- Timestamp:
- 08/24/2006 11:50:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r3885 r4116 150 150 // category exclusion 151 151 if ( !stristr($cat,'-') ) 152 $title = get_the_category_by_ID($cat);152 $title = apply_filters('single_cat_title', get_the_category_by_ID($cat)); 153 153 } 154 154 if ( !empty($category_name) ) { … … 161 161 } 162 162 $title = $wpdb->get_var("SELECT cat_name FROM $wpdb->categories WHERE category_nicename = '$category_name'"); 163 $title = apply_filters('single_cat_title', $title); 163 164 } 164 165 … … 231 232 $cat = intval( get_query_var('cat') ); 232 233 if ( !empty($cat) && !(strtoupper($cat) == 'ALL') ) { 233 $my_cat_name = get_the_category_by_ID($cat);234 $my_cat_name = apply_filters('single_cat_title', get_the_category_by_ID($cat)); 234 235 if ( !empty($my_cat_name) ) { 235 236 if ( $display )
Note: See TracChangeset
for help on using the changeset viewer.