Changeset 15463
- Timestamp:
- 07/22/2010 08:08:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/wp-includes/canonical.php
r15438 r15463 157 157 $obj = $wp_query->get_queried_object(); 158 158 159 if ( $term_count <= 1 && !empty($obj->term_id) && ( $tax_url = get_term_link((int)$obj->term_id, $obj->taxonomy) ) && !is_wp_error($tax_url) ) {160 159 if ( $term_count <= 1 && !empty($obj->term_id) && ( $tax_url = get_term_link((int)$obj->term_id, $obj->taxonomy) ) 160 && !is_wp_error($tax_url) && $redirect['query'] ) { 161 161 if ( is_category() ) { 162 162 $redirect['query'] = remove_query_arg( array( 'category_name', 'category', 'cat'), $redirect['query']);
Note: See TracChangeset
for help on using the changeset viewer.