WordPress.org

Make WordPress Core

Changeset 7871


Ignore:
Timestamp:
05/01/08 21:38:40 (7 years ago)
Author:
ryan
Message:

Don't redirect robots. Props thenlich and DD32. fixes #6891

File:
1 edited

Legend:

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

    r6998 r7871  
    3636    global $wp_rewrite, $is_IIS; 
    3737 
    38     if ( is_feed() || is_trackback() || is_search() || is_comments_popup() || is_admin() || $is_IIS || ( isset($_POST) && count($_POST) ) || is_preview() ) 
     38    if ( is_feed() || is_trackback() || is_search() || is_comments_popup() || is_admin() || $is_IIS || ( isset($_POST) && count($_POST) ) || is_preview() || is_robots() ) 
    3939        return; 
    4040 
Note: See TracChangeset for help on using the changeset viewer.