Changeset 2510 for trunk/wp-blog-header.php
- Timestamp:
- 04/03/2005 05:43:42 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-blog-header.php
r2478 r2510 184 184 // request was a regular query string request rather than a permalink request. 185 185 if ( (0 == count($posts)) && !is_404() && !is_search() 186 &&!empty($_SERVER['QUERY_STRING']) &&187 (false === strpos($_SERVER['REQUEST_URI'], '?')) ) {186 && ( isset($rewrite) || (!empty($_SERVER['QUERY_STRING']) && 187 (false === strpos($_SERVER['REQUEST_URI'], '?'))) ) ) { 188 188 $wp_query->is_404 = true; 189 189 if ( preg_match('/cgi/', php_sapi_name()) ) … … 232 232 exit; 233 233 } else if ( is_archive() && get_archive_template() ) { 234 echo "here"; 234 235 include(get_archive_template()); 235 236 exit;
Note: See TracChangeset
for help on using the changeset viewer.