Changeset 6263

Show
Ignore:
Timestamp:
10/17/07 20:14:38 (11 months ago)
Author:
markjaquith
Message:

Explicitly exclude previews from canonicalization. fixes #5203 for trunk

Files:

Legend:

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

    r6173 r6263  
    55    global $wp_rewrite, $posts, $is_IIS; 
    66 
    7     if ( is_feed() || is_trackback() || is_search() || is_comments_popup() || is_admin() || $is_IIS || ( isset($_POST) && count($_POST) )
     7    if ( is_feed() || is_trackback() || is_search() || is_comments_popup() || is_admin() || $is_IIS || ( isset($_POST) && count($_POST) ) || is_preview()
    88        return; 
    99