WordPress.org

Make WordPress Core

Changeset 4991


Ignore:
Timestamp:
03/07/07 05:37:22 (7 years ago)
Author:
markjaquith
Message:

Cast query vars to strings. fixes #3891

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/wp-includes/classes.php

    r4779 r4991  
    149149            elseif (!empty($perma_query_vars[$wpvar])) 
    150150                $this->query_vars[$wpvar] = $perma_query_vars[$wpvar]; 
     151 
     152            $this->query_vars[$wpvar] = (string) $this->query_vars[$wpvar]; 
    151153        } 
    152154 
Note: See TracChangeset for help on using the changeset viewer.