SSH SFTP Updater Support - Version 0.8.3

Version Description

  • 2020/Dec/19 =

  • TWEAK: Replace deprecated jQuery style

Download this release

Release Info

Developer DavidAnderson
Plugin Icon wp plugin SSH SFTP Updater Support
Version 0.8.3
Comparing to
See all releases

Code changes from version 0.8.2 to 0.8.3

Files changed (2) hide show
  1. readme.txt +7 -3
  2. sftp.php +5 -5
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: DavidAnderson, TerraFrost, pmbaldha
3
  Donate link: https://sourceforge.net/donate/index.php?group_id=198487
4
  Tags: ssh, sftp
5
  Requires at least: 3.1
6
- Tested up to: 5.2
7
- Stable tag: 0.8.2
8
 
9
  "SSH SFTP Updater Support" is the easiest way to keep your Wordpress installation up-to-date with SFTP.
10
 
@@ -41,6 +41,10 @@ b) Others as <a href="https://codex.wordpress.org/Editing_wp-config.php#WordPres
41
 
42
  == Changelog ==
43
 
 
 
 
 
44
  = 0.8.2 - 2019/Jun/22 =
45
 
46
  * TWEAK: Make the FTP_ constants apply.
@@ -116,4 +120,4 @@ b) Others as <a href="https://codex.wordpress.org/Editing_wp-config.php#WordPres
116
  * Initial Release
117
 
118
  == Upgrade Notice ==
119
- * 0.8.2 : Make the FTP_* constants apply
3
  Donate link: https://sourceforge.net/donate/index.php?group_id=198487
4
  Tags: ssh, sftp
5
  Requires at least: 3.1
6
+ Tested up to: 5.6
7
+ Stable tag: 0.8.3
8
 
9
  "SSH SFTP Updater Support" is the easiest way to keep your Wordpress installation up-to-date with SFTP.
10
 
41
 
42
  == Changelog ==
43
 
44
+ = 0.8.3 - 2020/Dec/19 =
45
+
46
+ * TWEAK: Replace deprecated jQuery style
47
+
48
  = 0.8.2 - 2019/Jun/22 =
49
 
50
  * TWEAK: Make the FTP_ constants apply.
120
  * Initial Release
121
 
122
  == Upgrade Notice ==
123
+ * 0.8.3 : Replace deprecated jQuery style
sftp.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SSH SFTP Updater Support
4
  Plugin URI: https://wordpress.org/plugins/ssh-sftp-updater-support/
5
  Description: Update your WordPress blog / plugins via SFTP without libssh2
6
- Version: 0.8.2
7
  Author: TerraFrost, David Anderson + Team Updraft
8
  Author URI: https://updraftplus.com/
9
  */
@@ -12,7 +12,7 @@ if (!defined('ABSPATH')) die('No direct access allowed');
12
 
13
  define('SSH_SFTP_UPDATER_SUPPORT_MAIN_PATH', plugin_dir_path(__FILE__));
14
  define('SSH_SFTP_UPDATER_SUPPORT_BASENAME', plugin_basename(__FILE__));
15
- define('SSH_SFTP_UPDATER_SUPPORT_VERSION', '0.8.2');
16
  define('SSH_SFTP_UPDATER_SUPPORT_URL', plugin_dir_url(__FILE__));
17
  // see http://adambrown.info/p/wp_hooks/hook/<filter name>
18
  add_filter('filesystem_method', 'phpseclib_filesystem_method', 10, 2); // since 2.6 - WordPress will ignore the ssh option if the php ssh extension is not loaded
@@ -144,10 +144,10 @@ function phpseclib_request_filesystem_credentials($value, $form_post, $type = ''
144
  <script type="text/javascript">
145
  <!--
146
  jQuery(function($){
147
- jQuery("#ssh").click(function () {
148
  jQuery(".ssh_keys").show();
149
  });
150
- jQuery("#ftp, #ftps").click(function () {
151
  jQuery(".ssh_keys").hide();
152
  });
153
  jQuery("#private_key_file").change(function (event) {
@@ -159,7 +159,7 @@ jQuery(function($){
159
  reader.readAsBinaryString(event.target.files[0]);
160
  }
161
  });
162
- jQuery("form").submit(function () {
163
  if(typeof(Storage)!=="undefined") {
164
  localStorage.privateKeyFile = jQuery("#private_key").val();
165
  }
3
  Plugin Name: SSH SFTP Updater Support
4
  Plugin URI: https://wordpress.org/plugins/ssh-sftp-updater-support/
5
  Description: Update your WordPress blog / plugins via SFTP without libssh2
6
+ Version: 0.8.3
7
  Author: TerraFrost, David Anderson + Team Updraft
8
  Author URI: https://updraftplus.com/
9
  */
12
 
13
  define('SSH_SFTP_UPDATER_SUPPORT_MAIN_PATH', plugin_dir_path(__FILE__));
14
  define('SSH_SFTP_UPDATER_SUPPORT_BASENAME', plugin_basename(__FILE__));
15
+ define('SSH_SFTP_UPDATER_SUPPORT_VERSION', '0.8.3');
16
  define('SSH_SFTP_UPDATER_SUPPORT_URL', plugin_dir_url(__FILE__));
17
  // see http://adambrown.info/p/wp_hooks/hook/<filter name>
18
  add_filter('filesystem_method', 'phpseclib_filesystem_method', 10, 2); // since 2.6 - WordPress will ignore the ssh option if the php ssh extension is not loaded
144
  <script type="text/javascript">
145
  <!--
146
  jQuery(function($){
147
+ jQuery("#ssh").on('click', function () {
148
  jQuery(".ssh_keys").show();
149
  });
150
+ jQuery("#ftp, #ftps").on('click', function () {
151
  jQuery(".ssh_keys").hide();
152
  });
153
  jQuery("#private_key_file").change(function (event) {
159
  reader.readAsBinaryString(event.target.files[0]);
160
  }
161
  });
162
+ jQuery("form").on('submit', function () {
163
  if(typeof(Storage)!=="undefined") {
164
  localStorage.privateKeyFile = jQuery("#private_key").val();
165
  }