Changeset 3484
- Timestamp:
- 01/25/06 03:59:41 (3 years ago)
- Files:
-
- trunk/wp-includes/classes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/classes.php
r3473 r3484 1696 1696 // or if the request was a regular query string request rather than a 1697 1697 // permalink request. 1698 if ( (0 == count($wp_query->posts)) && !is_404() && !is_ category() && !is_search() && ( $this->did_permalink || (!empty($_SERVER['QUERY_STRING']) && (false === strpos($_SERVER['REQUEST_URI'], '?'))) ) ) {1698 if ( (0 == count($wp_query->posts)) && !is_404() && !is_search() && ( $this->did_permalink || (!empty($_SERVER['QUERY_STRING']) && (false === strpos($_SERVER['REQUEST_URI'], '?'))) ) ) { 1699 1699 $wp_query->set_404(); 1700 1700 status_header( 404 );
