Make WordPress Core


Ignore:
Timestamp:
10/27/2008 04:31:26 PM (17 years ago)
Author:
ryan
Message:

Make get_comment_link() paging aware. Props Viper007Bond. see #7956

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/canonical.php

    r9322 r9367  
    250250        $redirect_url = $redirect['scheme'] . '://' . $redirect['host'];
    251251        if ( !empty($redirect['port']) )
    252             $redirect_url .= ':' . $redirect['port'];
     252            $redirect_url .= ':' . $redirect['port'];
    253253        $redirect_url .= $redirect['path'];
    254254        if ( !empty($redirect['query']) )
     
    257257
    258258    if ( !$redirect_url || $redirect_url == $requested_url )
    259         return false;
     259        return false;
    260260
    261261    // Note that you can use the "redirect_canonical" filter to cancel a canonical redirect for whatever reason by returning FALSE
     
    263263
    264264    if ( !$redirect_url || $redirect_url == $requested_url ) // yes, again -- in case the filter aborted the request
    265         return false;
     265        return false;
    266266
    267267    if ( $do_redirect ) {
Note: See TracChangeset for help on using the changeset viewer.