Make WordPress Core

Ticket #41238: 41238.patch

File 41238.patch, 475 bytes (added by afzalmultani, 8 years ago)

function redirect_canonical in canonical.php

  • canonical.php

     
    3232 * @global bool $is_IIS
    3333 * @global WP_Query $wp_query
    3434 * @global wpdb $wpdb WordPress database abstraction object.
     35 * @global WP $wp Current WordPress environment instance.
    3536 *
    3637 * @param string $requested_url Optional. The URL that was requested, used to
    3738 *              figure if redirect is needed.