Changeset 1227 for trunk/wp-includes/template-functions-category.php
- Timestamp:
- 05/05/2004 07:34:41 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-category.php
r1217 r1227 25 25 $link = $file.$querystring_start.'cat'.$querystring_equal.$cat_ID; 26 26 } else { 27 if ('' == $category_nicename) $category_nicename = $cache_categories[$category_id]->category_nicename; 28 // Get any static stuff from the front 27 $category_nicename = $cache_categories[$category_id]->cat_name; 28 $category_nicename = preg_replace( '|[^a-z0-9-]|i', '', $category_nicename ); 29 // Get any static stuff from the front 29 30 $front = substr($permalink_structure, 0, strpos($permalink_structure, '%')); 30 31 $link = get_settings('home') . $front . 'category/';
Note: See TracChangeset
for help on using the changeset viewer.