WordPress.org

Make WordPress Core

Ticket #10137: 10137.diff

File 10137.diff, 729 bytes (added by Denis-de-Bernardy, 11 years ago)
  • wp-admin/includes/class-wp-filesystem-ssh2.php

     
    128128                        }
    129129                } else {
    130130                        if ( ! @ssh2_auth_pubkey_file($this->link, $this->options['username'], $this->options['public_key'], $this->options['private_key'], $this->options['password'] ) ) {
    131                                 $this->errors->add('auth', sprintf(__('Public and Private keys incorrent for %s'), $this->options['username']));
     131                                $this->errors->add('auth', sprintf(__('Public and Private keys incorrect for %s'), $this->options['username']));
    132132                                return false;
    133133                        }
    134134                }