Fix typo, props morfiusx and Denis-de-Bernardy, fixes #10137 for trunk

git-svn-id: https://develop.svn.wordpress.org/trunk@11564 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-06-14 09:28:29 +00:00
parent 59b44738e0
commit 5e42829001

View File

@ -128,7 +128,7 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
}
} else {
if ( ! @ssh2_auth_pubkey_file($this->link, $this->options['username'], $this->options['public_key'], $this->options['private_key'], $this->options['password'] ) ) {
$this->errors->add('auth', sprintf(__('Public and Private keys incorrent for %s'), $this->options['username']));
$this->errors->add('auth', sprintf(__('Public and Private keys incorrect for %s'), $this->options['username']));
return false;
}
}
@ -379,4 +379,4 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
unset($dir);
return $ret;
}
}
}