Ticket #19466: 19466.diff
File 19466.diff, 921 bytes (added by , 13 years ago) |
---|
-
class-wp.php
327 327 if ( !is_user_logged_in() ) 328 328 $headers = array_merge($headers, wp_get_nocache_headers()); 329 329 $headers['Content-Type'] = get_option('html_type') . '; charset=' . get_option('blog_charset'); 330 } else if ( empty($this->query_vars['feed']) ) {331 $headers['Content-Type'] = get_option('html_type') . '; charset=' . get_option('blog_charset');332 330 } else { 333 // We're showing a feed, so WP is indeed the only thing that last changed 331 if ( empty($this->query_vars['feed']) ) { 332 $headers['Content-Type'] = get_option('html_type') . '; charset=' . get_option('blog_charset'); 333 }; 334 334 if ( !empty($this->query_vars['withcomments']) 335 335 || ( empty($this->query_vars['withoutcomments']) 336 336 && ( !empty($this->query_vars['p'])