Changeset 60490 for trunk/src/wp-includes/SimplePie/src/SimplePie.php
- Timestamp:
- 07/21/2025 01:39:41 AM (5 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/SimplePie/src/SimplePie.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/SimplePie/src/SimplePie.php
r59141 r60490 71 71 * SimplePie Version 72 72 */ 73 public const VERSION = '1.8. 0';73 public const VERSION = '1.8.1'; 74 74 75 75 /** … … 1374 1374 $this->sanitize->strip_htmltags($tags); 1375 1375 if ($encode !== null) { 1376 $this->sanitize->encode_instead_of_strip($ tags);1376 $this->sanitize->encode_instead_of_strip($encode); 1377 1377 } 1378 1378 } … … 1757 1757 } 1758 1758 // Check if the cache has been updated 1759 elseif ( isset($this->data['cache_expiration_time']) && $this->data['cache_expiration_time'] >time()) {1759 elseif (!isset($this->data['cache_expiration_time']) || $this->data['cache_expiration_time'] < time()) { 1760 1760 // Want to know if we tried to send last-modified and/or etag headers 1761 1761 // when requesting this file. (Note that it's up to the file to … … 1832 1832 if (!$locate->is_feed($file)) { 1833 1833 $copyStatusCode = $file->status_code; 1834 $copyContentType = $file->headers['content-type'] ;1834 $copyContentType = $file->headers['content-type'] ?? ''; 1835 1835 try { 1836 1836 $microformats = false;
Note: See TracChangeset
for help on using the changeset viewer.