Make WordPress Core


Ignore:
Timestamp:
12/06/2007 07:49:33 PM (17 years ago)
Author:
ryan
Message:

Remove unused vars. Props DD32. see #5418

File:
1 edited

Legend:

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

    r6263 r6364  
    33
    44function redirect_canonical($requested_url=NULL, $do_redirect=true) {
    5     global $wp_rewrite, $posts, $is_IIS;
     5    global $wp_rewrite, $is_IIS;
    66
    77    if ( is_feed() || is_trackback() || is_search() || is_comments_popup() || is_admin() || $is_IIS || ( isset($_POST) && count($_POST) ) || is_preview() )
     
    177177
    178178function redirect_guess_404_permalink() {
    179     global $wp_query, $wpdb;
     179    global $wpdb;
    180180    if ( !get_query_var('name') )
    181181        return false;
Note: See TracChangeset for help on using the changeset viewer.