mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Updates: FTP: Add a missing PCRE modifer in [34281].
See #16026, #33432x Built from https://develop.svn.wordpress.org/trunk@34282 git-svn-id: http://core.svn.wordpress.org/trunk@34246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5abc1eaab9
commit
6113e498fc
@ -444,7 +444,7 @@ class ftp_base {
|
|||||||
}
|
}
|
||||||
if(!$this->_exec("MDTM ".$pathname, "mdtm")) return FALSE;
|
if(!$this->_exec("MDTM ".$pathname, "mdtm")) return FALSE;
|
||||||
if(!$this->_checkCode()) return FALSE;
|
if(!$this->_checkCode()) return FALSE;
|
||||||
$mdtm = preg_replace("/^[0-9]{3} ([0-9]+).*$/", "\\1", $this->_message);
|
$mdtm = preg_replace("/^[0-9]{3} ([0-9]+).*$/s", "\\1", $this->_message);
|
||||||
$date = sscanf($mdtm, "%4d%2d%2d%2d%2d%2d");
|
$date = sscanf($mdtm, "%4d%2d%2d%2d%2d%2d");
|
||||||
$timestamp = mktime($date[3], $date[4], $date[5], $date[1], $date[2], $date[0]);
|
$timestamp = mktime($date[3], $date[4], $date[5], $date[1], $date[2], $date[0]);
|
||||||
return $timestamp;
|
return $timestamp;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-34281';
|
$wp_version = '4.4-alpha-34282';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user