Changeset 3484
- Timestamp:
- 01/25/2006 03:59:41 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 );
Note: See TracChangeset
for help on using the changeset viewer.