diff --git a/wp-admin/includes/class-ftp.php b/wp-admin/includes/class-ftp.php index 81272f1ed3..4f75e409f8 100644 --- a/wp-admin/includes/class-ftp.php +++ b/wp-admin/includes/class-ftp.php @@ -444,7 +444,7 @@ class ftp_base { } if(!$this->_exec("MDTM ".$pathname, "mdtm")) 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"); $timestamp = mktime($date[3], $date[4], $date[5], $date[1], $date[2], $date[0]); return $timestamp; diff --git a/wp-includes/version.php b/wp-includes/version.php index b430748c5f..a960b96220 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.