External Libraries: Fix PHP 7.4 compatibility issues in the SimplePie library.

See: 38b504969e

Props jrf, stevenkword, jorbin, desrosj.
See #47746.
Built from https://develop.svn.wordpress.org/trunk@46260


git-svn-id: http://core.svn.wordpress.org/trunk@46072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2019-09-23 18:17:58 +00:00
parent 6415382aaa
commit 2b6efccc06
2 changed files with 3 additions and 3 deletions

View File

@ -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)]))

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-46259';
$wp_version = '5.3-alpha-46260';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.