WordPress.org

Make WordPress Core

Changeset 9649


Ignore:
Timestamp:
11/12/08 21:55:25 (5 years ago)
Author:
markjaquith
Message:

Revert [9193]. See #6627. Will revisit for 2.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/canonical.php

    r9646 r9649  
    8888            if ( $redirect_url = get_permalink(get_query_var('p')) ) 
    8989                $redirect['query'] = remove_query_arg('p', $redirect['query']); 
    90         } elseif ( is_single() && ! $redirect_url ) { 
    91             $redirect_url = get_permalink( url_to_postid( $requested_url ) ); 
    9290            if ( get_query_var( 'page' ) ) { 
    9391                $redirect_url = trailingslashit( $redirect_url ) . user_trailingslashit( get_query_var( 'page' ), 'single_paged' ); 
Note: See TracChangeset for help on using the changeset viewer.