The WP Remote WordPress Plugin - Version 4.62

Version Description

  • MultiTable Sync in single callback functionality added.
  • Streamlined overall UI
  • Firewall Logging Improvements
  • Improved host info
Download this release

Release Info

Developer ritesh.soni36
Plugin Icon 128x128 The WP Remote WordPress Plugin
Version 4.62
Comparing to
See all releases

Code changes from version 4.61 to 4.62

admin/add_new_acc.php DELETED
@@ -1,28 +0,0 @@
1
- <?php
2
- $signupFormTitle = "Let's add your site for remote management";
3
- $signupPurpose = array("Manage", "Others");
4
- $signupButtonText = "Get started";
5
- $signupButtonColor = "#25bea0";
6
- ?>
7
- <div id="content-wrapper" style="width: 99%">
8
- <div class="mui-container-fluid" style="padding: 0px;">
9
- <div style="padding-left: 0px; width: 80%; margin: 0 auto;">
10
- <br>
11
- <div class="bv-box" style="padding-top: 10px; padding-bottom: 10px; margin: 0 auto;">
12
- <?php require_once dirname( __FILE__ ) . "/top_box.php";?>
13
- </div>
14
- <div class="mui-panel new-account-panel">
15
- <form dummy=">" action="<?php echo $this->bvinfo->appUrl(); ?>/plugin/bvstart" style="padding-top:10px; margin: 0px;" onsubmit="document.getElementById('get-started').disabled = true;" method="post" name="signup">
16
- <div style="width: 800px; margin: 0 auto; padding: 10px;">
17
- <div class="mui--text-title form-title"><?php echo $signupFormTitle; ?></div>
18
- <input type='hidden' name='bvsrc' value='wpplugin' />
19
- <?php echo $this->siteInfoTags(); ?>
20
- <input type="text" class="bv-input" id="email" name="email" style="width:430px;" placeholder="Enter your email" required>
21
- <button id="get-started" class="mui-btn mui-btn--raised mui-btn--primaryi get-started-button" type="submit" style="background: <?php echo $signupButtonColor; ?>;"><?php echo $signupButtonText; ?></button><br/>
22
- <input type="checkbox" name="consent" value="1" required/>I agree to WPRemote <a href="https://wpremote.com/tos/" target="_blank" rel="noopener noreferrer">Terms of Service</a> and <a href="https://wpremote.com/privacy/" target="_blank" rel="noopener noreferrer">Privacy Policy</a>
23
- </div>
24
- </form>
25
- <br/>
26
- </div>
27
- </div>
28
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/header.php DELETED
@@ -1,21 +0,0 @@
1
- <?php
2
- $pluginSlug = "wpremote";
3
- $headerLogoLink = $this->getWebPage() . "/?utm_source=mc_plugin_lp_logo&utm_medium=logo_link&utm_campaign=mc_plugin_lp_header&utm_term=header_logo&utm_content=image_link";
4
- ?>
5
- <div id="content-wrapper" style="width: 99%;">
6
- <!-- Content HTML goes here -->
7
- <div class="mui-container-fluid">
8
- <div class="mui--appbar-height"></div>
9
- <br><br>
10
- <div class="mui-row">
11
-
12
- <div style="background: linear-gradient(to right, #2c3e50, #586f87); overflow: hidden;">
13
- <a href="<?php echo $headerLogoLink; ?>"><img src="<?php echo plugins_url($this->getPluginLogo(), __FILE__); ?>" style="width:13%; padding: 10px;"></a>
14
- <div class="top-links">
15
- <span class="bv-top-button"><a href="https://wordpress.org/support/plugin/<?php echo $pluginSlug; ?>/reviews/#new-post">Leave a Review</a></span>
16
- <span class="bv-top-button"><a href="https://wordpress.org/support/plugin/<?php echo $pluginSlug; ?>/">Need Help?</a></span>
17
- </div>
18
- </div>
19
- </div>
20
- </div>
21
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/main_page.php DELETED
@@ -1,38 +0,0 @@
1
- <div id="content-wrapper">
2
- <div class="bv-box" style= "width: 800px; margin: 20px auto; overflow: hidden; padding: 15px;">
3
- <?php require_once dirname( __FILE__ ) . "/top_box.php";?>
4
- </div>
5
- <div class="mui-container-fluid">
6
- <?php $accounts = WPRAccount::accountsByPlugname($this->settings);?>
7
- <div class="mui-panel" style="width:800px; margin:0 auto;border:1px solid #CCC;">
8
- <div class="mui--text-body1" style="text-align:center;font-size:18px;">Accounts associated with this website.</div><br/>
9
- <table cellpadding="10" style="width:700px; margin:0 auto;border:1px solid black;">
10
- <tr style="text-align:center;font-size:15px;border: 1px solid black;"> <th> Account Email</th><th>Last Synced At</th><th></th></tr>
11
- <?php
12
- $nonce = wp_create_nonce( 'bvnonce' );
13
- foreach($accounts as $key => $value){
14
- ?>
15
- <form dummy=">" action="" style="padding:0 2% 2em 1%;" method="post">
16
- <input type='hidden' name='bvnonce' value="<?php echo $nonce ?>" />
17
- <input type='hidden' name='pubkey' value="<?php echo $key ?>" />
18
- <tr style="text-align:center;font-size:15px;border: 1px solid black;">
19
- <td >
20
- <?php echo $value['email'] ?>
21
- </td>
22
- <td>
23
- <?php echo date('Y-m-d H:i:s', $value['lastbackuptime']); ?>
24
- </td>
25
- <td >
26
- <input type='submit' class="button-primary" value='Disconnect' name='disconnect'>
27
- </td>
28
- </tr>
29
- </form>
30
- <?php } ?>
31
- </table>
32
- <div class="mui-col-md-12 mui-col-md-offset-3" style="padding-top:2%;">
33
- <a class="mui-btn mui-btn--raised mui-btn--primary" href=<?php echo $this->bvinfo->appUrl(); ?> target="_blank">Visit Dashboard</a>
34
- <a class="mui-btn mui-btn--raised mui-btn--primary" href=<?php echo $this->mainUrl('&add_account=true'); ?> >Connect New Account</a>
35
- </div>
36
- </div>
37
- </div>
38
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/top_box.php DELETED
@@ -1,5 +0,0 @@
1
- <?php
2
- $mainTitle = "Now you can manage this site from your WP Remote Dashboard";
3
- ?>
4
- <div style = "text-align: center; font-size: x-large; font-weight:400; margin-top:2%"><?php echo $mainTitle; ?></div>
5
- <br/><br/>
 
 
 
 
 
callback/wings/db.php CHANGED
@@ -40,6 +40,7 @@ class BVDBCallback extends BVCallbackBase {
40
  $rows = $this->db->getTableContent($table, '*', $filter, $bsize, $offset);
41
  $srows = sizeof($rows);
42
  $data = array();
 
43
  $data["offset"] = $offset;
44
  $data["size"] = $srows;
45
  $serialized_rows = serialize($rows);
@@ -213,6 +214,22 @@ class BVDBCallback extends BVCallbackBase {
213
  $pkeys = (array_key_exists('pkeys', $params)) ? $params['pkeys'] : array();
214
  $resp = $this->getTableData($table, $tname, $rcount, $offset, $limit, $bsize, $filter, $pkeys, false);
215
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
  case "uploadrows":
217
  $table = urldecode($params['table']);
218
  $offset = intval(urldecode($params['offset']));
@@ -253,4 +270,4 @@ class BVDBCallback extends BVCallbackBase {
253
  return $resp;
254
  }
255
  }
256
- endif;
40
  $rows = $this->db->getTableContent($table, '*', $filter, $bsize, $offset);
41
  $srows = sizeof($rows);
42
  $data = array();
43
+ $data["table_name"] = $tname;
44
  $data["offset"] = $offset;
45
  $data["size"] = $srows;
46
  $serialized_rows = serialize($rows);
214
  $pkeys = (array_key_exists('pkeys', $params)) ? $params['pkeys'] : array();
215
  $resp = $this->getTableData($table, $tname, $rcount, $offset, $limit, $bsize, $filter, $pkeys, false);
216
  break;
217
+ case "getmulttables":
218
+ $result = array();
219
+ $tableParams = $params['table_params'];
220
+ $resp = array();
221
+ foreach($tableParams as $tableParam) {
222
+ $table = urldecode($tableParam['table']);
223
+ $tname = urldecode($tableParam['tname']);
224
+ $rcount = intval(urldecode($tableParam['rcount']));
225
+ $filter = (array_key_exists('filter', $tableParam)) ? urldecode($tableParam['filter']) : "";
226
+ $limit = intval(urldecode($tableParam['limit']));
227
+ $offset = intval(urldecode($tableParam['offset']));
228
+ $bsize = intval(urldecode($tableParam['bsize']));
229
+ $pkeys = (array_key_exists('pkeys', $tableParam)) ? $tableParam['pkeys'] : array();
230
+ $resp[$tname] = $this->getTableData($table, $tname, $rcount, $offset, $limit, $bsize, $filter, $pkeys, true);
231
+ }
232
+ break;
233
  case "uploadrows":
234
  $table = urldecode($params['table']);
235
  $offset = intval(urldecode($params['offset']));
270
  return $resp;
271
  }
272
  }
273
+ endif;
img/as_seen_in.png DELETED
Binary file
img/bv.png DELETED
Binary file
img/bv_badge.png DELETED
Binary file
img/bv_for_free.jpg DELETED
Binary file
img/lock.png DELETED
Binary file
img/malcare-wordpress-security.png DELETED
Binary file
img/mclogo.png DELETED
Binary file
img/wprlogo.png DELETED
Binary file
info.php CHANGED
@@ -10,7 +10,7 @@ if (!class_exists('WPRInfo')) :
10
  public $badgeinfo = 'wprbadge';
11
  public $ip_header_option = 'wpripheader';
12
  public $brand_option = 'wprbrand';
13
- public $version = '4.61';
14
  public $webpage = 'https://wpremote.com';
15
  public $appurl = 'https://app.wpremote.com';
16
  public $slug = 'wpremote/plugin.php';
10
  public $badgeinfo = 'wprbadge';
11
  public $ip_header_option = 'wpripheader';
12
  public $brand_option = 'wprbrand';
13
+ public $version = '4.62';
14
  public $webpage = 'https://wpremote.com';
15
  public $appurl = 'https://app.wpremote.com';
16
  public $slug = 'wpremote/plugin.php';
plugin.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://wpremote.com
5
  Description: Manage your WordPress site with <a href="https://wpremote.com/">WP Remote</a>.
6
  Author: WP Remote
7
  Author URI: https://wpremote.com
8
- Version: 4.61
9
  Network: True
10
  */
11
 
5
  Description: Manage your WordPress site with <a href="https://wpremote.com/">WP Remote</a>.
6
  Author: WP Remote
7
  Author URI: https://wpremote.com
8
+ Version: 4.62
9
  Network: True
10
  */
11
 
readme.txt CHANGED
@@ -4,9 +4,9 @@ Tags: wpremote, remote administration, multiple wordpress, backup, wordpress bac
4
  Plugin URI: https://wpremote.com/
5
  Donate link: https://app.wpremote.com/home/signup
6
  Requires at least: 4.0
7
- Tested up to: 5.7
8
  Requires PHP: 5.4.0
9
- Stable tag: 4.61
10
  License: GPLv2 or later
11
  License URI: [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)
12
 
@@ -32,6 +32,12 @@ You can email us at support@wpremote.com for support.
32
  3. Sign up for an account at wpremote.com and add your site.
33
 
34
  == CHANGELOG ==
 
 
 
 
 
 
35
  = 4.61 =
36
  * Streamlined overall UI
37
  * Firewall Logging Improvements
4
  Plugin URI: https://wpremote.com/
5
  Donate link: https://app.wpremote.com/home/signup
6
  Requires at least: 4.0
7
+ Tested up to: 5.8
8
  Requires PHP: 5.4.0
9
+ Stable tag: 4.62
10
  License: GPLv2 or later
11
  License URI: [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)
12
 
32
  3. Sign up for an account at wpremote.com and add your site.
33
 
34
  == CHANGELOG ==
35
+ = 4.62 =
36
+ * MultiTable Sync in single callback functionality added.
37
+ * Streamlined overall UI
38
+ * Firewall Logging Improvements
39
+ * Improved host info
40
+
41
  = 4.61 =
42
  * Streamlined overall UI
43
  * Firewall Logging Improvements