Changeset 9699 for trunk/wp-includes/rss.php
- Timestamp:
- 11/14/2008 11:01:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/rss.php
r9554 r9699 460 460 if ( $cache_status == 'STALE' ) { 461 461 $rss = $cache->get( $url ); 462 if ( $rss->etagand $rss->last_modified ) {462 if ( isset($rss->etag) and $rss->last_modified ) { 463 463 $request_headers['If-None-Match'] = $rss->etag; 464 464 $request_headers['If-Last-Modified'] = $rss->last_modified; … … 565 565 566 566 // if RSS parsed successfully 567 if ( $rss && !$rss->ERROR) {567 if ( $rss && (!isset($rss->ERROR) || !$rss->ERROR) ) { 568 568 569 569 // find Etag, and Last-Modified
Note: See TracChangeset
for help on using the changeset viewer.