Ticket #12649: wp-12649.patch
| File wp-12649.patch, 617 bytes (added by lordgun, 3 years ago) |
|---|
-
rss.php
old new 578 578 579 579 // find Etag, and Last-Modified 580 580 foreach( (array) $resp->headers as $h) { 581 // 2003-03-02 - Nicola Asuni (www.tecnick.com) - fixed bug "Undefined offset: 1" 582 if (strpos($h, ": ")) { 583 list($field, $val) = explode(": ", $h, 2); 584 } 585 else { 586 $field = $h; 587 $val = ""; 581 if (is_string($h) { 582 if (strpos($h, ": ")) { 583 list($field, $val) = explode(": ", $h, 2); 584 } 585 else { 586 $field = $h; 587 $val = ""; 588 } 588 589 } 589 590 590 591 if ( $field == 'ETag' ) {
