Changes from branches/2.6/wp-includes/canonical.php at r8594 to trunk/wp-includes/canonical.php at r7990
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/canonical.php
r8594 r7990 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 }174 173 $redirect['path'] = user_trailingslashit($redirect['path'], $user_ts_type); 175 174 } elseif ( is_home() ) {
Note: See TracChangeset
for help on using the changeset viewer.