Make WordPress Core

Changeset 10448


Ignore:
Timestamp:
01/28/2009 08:47:42 AM (16 years ago)
Author:
markjaquith
Message:

Allow plugins to provide a canonical redirect_url even if WordPress does not provide its own. props wnorris. fixes #8975 for trunk

File:
1 edited

Legend:

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

    r10396 r10448  
    280280    }
    281281
    282     if ( !$redirect_url || $redirect_url == $requested_url )
     282    if ( $redirect_url == $requested_url )
    283283        return false;
    284284
Note: See TracChangeset for help on using the changeset viewer.