Changeset 9193
- Timestamp:
- 10/15/2008 10:00:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/canonical.php
r9177 r9193 81 81 if ( $redirect_url = get_permalink(get_query_var('p')) ) 82 82 $redirect['query'] = remove_query_arg('p', $redirect['query']); 83 } elseif ( is_single() && ! $redirect_url ) { 84 $redirect_url = get_permalink( url_to_postid( $requested_url ) ); 83 85 } elseif ( is_page() && isset($_GET['page_id']) && ! $redirect_url ) { 84 86 if ( $redirect_url = get_permalink(get_query_var('page_id')) )
Note: See TracChangeset
for help on using the changeset viewer.