Changeset 42228 for trunk/src/wp-includes/class-wp.php
- Timestamp:
- 11/26/2017 11:56:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp.php
r42201 r42228 411 411 // We're showing a feed, so WP is indeed the only thing that last changed. 412 412 if ( ! empty( $this->query_vars['withcomments'] ) 413 414 415 416 417 418 419 420 421 422 413 || false !== strpos( $this->query_vars['feed'], 'comments-' ) 414 || ( empty( $this->query_vars['withoutcomments'] ) 415 && ( ! empty( $this->query_vars['p'] ) 416 || ! empty( $this->query_vars['name'] ) 417 || ! empty( $this->query_vars['page_id'] ) 418 || ! empty( $this->query_vars['pagename'] ) 419 || ! empty( $this->query_vars['attachment'] ) 420 || ! empty( $this->query_vars['attachment_id'] ) 421 ) 422 ) 423 423 ) { 424 424 $wp_last_modified = mysql2date( 'D, d M Y H:i:s', get_lastcommentmodified( 'GMT' ), false ); … … 450 450 451 451 if ( ($client_last_modified && $client_etag) ? 452 453 452 (($client_modified_timestamp >= $wp_modified_timestamp) && ($client_etag == $wp_etag)) : 453 (($client_modified_timestamp >= $wp_modified_timestamp) || ($client_etag == $wp_etag)) ) { 454 454 $status = 304; 455 455 $exit_required = true;
Note: See TracChangeset
for help on using the changeset viewer.