Changeset 3215
- Timestamp:
- 11/28/2005 03:15:48 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/classes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/classes.php
r3206 r3215 1621 1621 // or if the request was a regular query string request rather than a 1622 1622 // permalink request. 1623 if ( (0 == count($wp_query->posts)) && !is_404() && !is_ search() && ( $this->did_permalink || (!empty($_SERVER['QUERY_STRING']) && (false === strpos($_SERVER['REQUEST_URI'], '?'))) ) ) {1623 if ( (0 == count($wp_query->posts)) && !is_404() && !is_category() && !is_search() && ( $this->did_permalink || (!empty($_SERVER['QUERY_STRING']) && (false === strpos($_SERVER['REQUEST_URI'], '?'))) ) ) { 1624 1624 $wp_query->set_404(); 1625 1625 status_header( 404 );
Note: See TracChangeset
for help on using the changeset viewer.