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

git-svn-id: http://svn.automattic.com/wordpress/trunk@11564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-06-14 09:28:29 +00:00
parent cb0b89a71c
commit 3ba803dc49
1 changed files with 2 additions and 2 deletions

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;
}
}
}