Changeset 21215 for trunk/wp-includes/canonical.php
- Timestamp:
- 07/05/2012 07:59:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/canonical.php
r21207 r21215 38 38 */ 39 39 function redirect_canonical( $requested_url = null, $do_redirect = true ) { 40 global $wp_rewrite, $is_ iis7, $wp_query, $wpdb;41 42 if ( is_trackback() || is_search() || is_comments_popup() || is_admin() || !empty($_POST) || is_preview() || is_robots() || ( $is_ iis7&& !iis7_supports_permalinks() ) )40 global $wp_rewrite, $is_IIS, $wp_query, $wpdb; 41 42 if ( is_trackback() || is_search() || is_comments_popup() || is_admin() || !empty($_POST) || is_preview() || is_robots() || ( $is_IIS && !iis7_supports_permalinks() ) ) 43 43 return; 44 44
Note: See TracChangeset
for help on using the changeset viewer.