Make WordPress Core


Ignore:
Timestamp:
11/04/2008 03:22:24 AM (17 years ago)
Author:
ryan
Message:

Notice fixes from filosofo and Viper007Bond. see #7509

File:
1 edited

Legend:

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

    r9475 r9506  
    6262    $redirect = $original;
    6363    $redirect_url = false;
     64
     65    // Notice fixing
     66    if ( !isset($redirect['path']) )  $redirect['path'] = '';
     67    if ( !isset($redirect['query']) ) $redirect['query'] = '';
    6468
    6569    if ( is_singular() && 1 > $wp_query->post_count && ($id = get_query_var('p')) ) {
Note: See TracChangeset for help on using the changeset viewer.