WordPress.org

Make WordPress Core

Ticket #17718: 17718.2.diff

File 17718.2.diff, 469 bytes (added by MikeHansenMe, 6 years ago)

refreshed

  • wp-includes/canonical.php

     
    382382
    383383        $compare_original = array($original['host'], $original['path']);
    384384
    385         if ( !empty( $original['port'] ) )
     385        if ( !empty( $original['port'] ) && 80 != $original['port'] )
    386386                $compare_original[] = $original['port'];
    387387
    388388        if ( !empty( $original['query'] ) )