Changeset 8593
- Timestamp:
- 08/08/08 17:43:44 (4 months ago)
- Files:
-
- trunk/wp-includes/canonical.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/canonical.php
r8589 r8593 166 166 foreach ( array('single', 'category', 'page', 'day', 'month', 'year') as $type ) { 167 167 $func = 'is_' . $type; 168 if ( call_user_func($func) ) 168 if ( call_user_func($func) ) { 169 169 $user_ts_type = $type; 170 170 break; 171 171 } 172 172 } 173 } 173 174 $redirect['path'] = user_trailingslashit($redirect['path'], $user_ts_type); 174 175 } elseif ( is_home() ) {
