Ticket #16639: 16639.diff
File 16639.diff, 818 bytes (added by , 14 years ago) |
---|
-
wp-includes/canonical.php
35 35 * not needed or the string of the URL 36 36 */ 37 37 function redirect_canonical( $requested_url = null, $do_redirect = true ) { 38 global $wp_rewrite, $is_ iis7, $wp_query, $wpdb;38 global $wp_rewrite, $is_IIS, $wp_query, $wpdb; 39 39 40 if ( is_trackback() || is_search() || is_comments_popup() || is_admin() || !empty($_POST) || is_preview() || is_robots() || ( $is_ iis7&& !iis7_supports_permalinks() ) )40 if ( is_trackback() || is_search() || is_comments_popup() || is_admin() || !empty($_POST) || is_preview() || is_robots() || ( $is_IIS && !iis7_supports_permalinks() ) ) 41 41 return; 42 42 43 43 if ( !$requested_url ) {