diff --git a/wp-includes/canonical.php b/wp-includes/canonical.php
index 231855e..9445b0b 100644
a
|
b
|
|
39 | 39 | function redirect_canonical( $requested_url = null, $do_redirect = true ) { |
40 | 40 | global $wp_rewrite, $is_IIS, $wp_query, $wpdb; |
41 | 41 | |
42 | | if ( is_trackback() || is_search() || is_comments_popup() || is_admin() || !empty($_POST) || is_preview() || is_robots() || ( $is_IIS && !iis7_supports_permalinks() ) ) |
| 42 | if ( is_trackback() || is_search() || is_comments_popup() || is_admin() || $_SERVER['REQUEST_METHOD'] !== 'GET' || is_preview() || is_robots() || ( $is_IIS && !iis7_supports_permalinks() ) ) |
43 | 43 | return; |
44 | 44 | |
45 | 45 | if ( !$requested_url ) { |