Skip to content

Commit e5f159a

Browse files
authored
Merge branch 'WordPress:trunk' into trunk
2 parents a03205b + e71d6ec commit e5f159a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-admin/includes/class-ftp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ function Passive($pasv=NULL) {
278278
}
279279

280280
function SetServer($host, $port=21, $reconnect=true) {
281-
if(!is_long($port)) {
281+
if(!is_int($port)) {
282282
$this->verbose=true;
283283
$this->SendMSG("Incorrect port syntax");
284284
return FALSE;

src/wp-includes/IXR/class-IXR-value.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function calculateType()
4747
if (is_int($this->data)) {
4848
return 'int';
4949
}
50-
if (is_double($this->data)) {
50+
if (is_float($this->data)) {
5151
return 'double';
5252
}
5353

0 commit comments

Comments
 (0)