Changeset 8511
- Timestamp:
- 07/30/08 17:17:51 (2 months ago)
- Files:
-
- branches/2.6/wp-includes/classes.php (modified) (1 diff)
- branches/2.6/wp-includes/rewrite.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.6/wp-includes/classes.php
r8263 r8511 111 111 112 112 // Substitute the substring matches into the query. 113 eval("\$query = \" $query\";");113 eval("\$query = \"" . addslashes($query) . "\";"); 114 114 $this->matched_query = $query; 115 115 branches/2.6/wp-includes/rewrite.php
r8366 r8511 153 153 154 154 // Substitute the substring matches into the query. 155 eval("\$query = \" $query\";");155 eval("\$query = \"" . addslashes($query) . "\";"); 156 156 // Filter out non-public query vars 157 157 global $wp;
