Skip to content
Permalink
Browse files

External Libraries: Fix PHP 7.4 compatibility issues in the SimplePie…

… library.

See: simplepie/simplepie@38b5049

Props jrf, stevenkword, jorbin, desrosj.
See #47746.

git-svn-id: https://develop.svn.wordpress.org/trunk@46260 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
desrosj committed Sep 23, 2019
1 parent 5863bd3 commit 63bf8c8316c8c2a5cc7cc5a495226e0aa6a3d221
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/wp-includes/SimplePie/Parse/Date.php
@@ -542,8 +542,8 @@ class SimplePie_Parse_Date
*/
public function __construct()
{
$this->day_pcre = '(' . implode(array_keys($this->day), '|') . ')';
$this->month_pcre = '(' . implode(array_keys($this->month), '|') . ')';
$this->day_pcre = '(' . implode('|', array_keys($this->day)) . ')';
$this->month_pcre = '(' . implode('|', array_keys($this->month)) . ')';
static $cache;
if (!isset($cache[get_class($this)]))

0 comments on commit 63bf8c8

Please sign in to comment.
You can’t perform that action at this time.