Make WordPress Core


Ignore:
Timestamp:
11/29/2005 06:44:44 AM (18 years ago)
Author:
ryan
Message:

Only unset query vars when serving admin pages. fixes #1979

File:
1 edited

Legend:

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

    r3229 r3233  
    15191519                    unset($error);
    15201520                   
    1521                 if ( isset($query_vars) )
     1521                if ( isset($query_vars) && strstr($_SERVER['PHP_SELF'], 'wp-admin/') )
    15221522                    unset($query_vars);
    15231523                   
Note: See TracChangeset for help on using the changeset viewer.