WordPress.org

Make WordPress Core

Changeset 4965


Ignore:
Timestamp:
03/04/07 18:08:33 (7 years ago)
Author:
markjaquith
Message:

Cast query vars to strings. fixes #3891

File:
1 edited

Legend:

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

    r4953 r4965  
    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.