Changeset 12979 for trunk/wp-includes/canonical.php
- Timestamp:
- 02/06/2010 03:40:24 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/canonical.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/canonical.php
r12889 r12979 101 101 if ( $redirect_url = get_permalink(get_query_var('page_id')) ) 102 102 $redirect['query'] = remove_query_arg('page_id', $redirect['query']); 103 } elseif ( is_page() && isset($wp_query->queried_object) && 'page' == get_option('show_on_front') && $wp_query->queried_object->ID == get_option('page_on_front') && ! $redirect_url ) { 104 $redirect_url = home_url('/'); 103 105 } elseif ( !empty($_GET['m']) && ( is_year() || is_month() || is_day() ) ) { 104 106 $m = get_query_var('m'); … … 135 137 } 136 138 137 // paging and feeds139 // paging and feeds 138 140 if ( get_query_var('paged') || is_feed() || get_query_var('cpage') ) { 139 141 if ( !$redirect_url )
Note: See TracChangeset
for help on using the changeset viewer.