Changeset 4291 for trunk/wp-includes/classes.php
- Timestamp:
- 10/04/2006 03:54:10 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/classes.php
r4204 r4291 172 172 if ( !empty($this->query_vars['error']) && '404' == $this->query_vars['error'] ) { 173 173 status_header( 404 ); 174 if ( !is_user_logged_in() ) 175 nocache_headers(); 174 176 @header('Content-type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 175 177 } else if ( empty($this->query_vars['feed']) ) { … … 261 263 $wp_query->set_404(); 262 264 status_header( 404 ); 265 nocache_headers(); 263 266 } elseif( is_404() != true ) { 264 267 status_header( 200 );
Note: See TracChangeset
for help on using the changeset viewer.