mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
External Libraries: Fix PHP 7.4 compatibility issues in the SimplePie library.
See: https://github.com/simplepie/simplepie/commit/38b504969ed08903cb12718e8270263a8c93080e Props jrf, stevenkword, jorbin, desrosj. See #47746. git-svn-id: https://develop.svn.wordpress.org/trunk@46260 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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)]))
|
||||
|
||||
Reference in New Issue
Block a user