| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | Plugin URI: https://wpremote.com |
| 5 | 5 | Description: Manage your WordPress site with <a href="https://wpremote.com/">WP Remote</a>. |
| 6 | 6 | Author: WP Remote |
| 7 | 7 | Author URI: https://wpremote.com |
| 8 | -Version: 6.47 | |
| 8 | +Version: 6.36 | |
| 9 | 9 | Network: True |
| 10 | 10 | License: GPLv2 or later |
| 11 | 11 | License URI: [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html) |
| 12 | 12 | */ |
| @@ -131,10 +131,10 @@ | ||
| 131 | 131 | } else { |
| 132 | 132 | $account = WPRAccount::find($bvsettings, $pubkey); |
| 133 | 133 | } |
| 134 | 134 | |
| 135 | - $request = new WPRCallbackRequest($account, $_REQUEST, $bvsettings); // phpcs:ignore WordPress.Security.NonceVerification.Recommended | |
| 136 | - $response = new WPRCallbackResponse($request->bvb64cksize); | |
| 135 | + $request = new BVCallbackRequest($account, $_REQUEST, $bvsettings); // phpcs:ignore WordPress.Security.NonceVerification.Recommended | |
| 136 | + $response = new BVCallbackResponse($request->bvb64cksize); | |
| 137 | 137 | |
| 138 | 138 | if ($request->authenticate() === 1) { |
| 139 | 139 | $bv_frm_tstng = WPRHelper::getRawParam('REQUEST', 'bv_frm_tstng'); |
| 140 | 140 | if (isset($bv_frm_tstng)) { |
| @@ -152,9 +152,9 @@ | ||
| 152 | 152 | if ($params === false) { |
| 153 | 153 | $response->terminate($request->corruptedParamsResp()); |
| 154 | 154 | } |
| 155 | 155 | $request->params = $params; |
| 156 | - $callback_handler = new WPRCallbackHandler($bvdb, $bvsettings, $bvsiteinfo, $request, $account, $response); | |
| 156 | + $callback_handler = new BVCallbackHandler($bvdb, $bvsettings, $bvsiteinfo, $request, $account, $response); | |
| 157 | 157 | if ($request->is_afterload) { |
| 158 | 158 | add_action('wp_loaded', array($callback_handler, 'execute')); |
| 159 | 159 | } else if ($request->is_admin_ajax) { |
| 160 | 160 | add_action('wp_ajax_bvadm', array($callback_handler, 'bvAdmExecuteWithUser')); |
| @@ -170,16 +170,16 @@ | ||
| 170 | 170 | if ($bvinfo->hasValidDBVersion()) { |
| 171 | 171 | if ($bvinfo->isProtectModuleEnabled()) { |
| 172 | 172 | require_once dirname( __FILE__ ) . '/protect/protect.php'; |
| 173 | 173 | //For backward compatibility. |
| 174 | - WPRProtect_V647::$settings = new WPRWPSettings(); | |
| 175 | - WPRProtect_V647::$db = new WPRWPDb(); | |
| 176 | - WPRProtect_V647::$info = new WPRInfo(WPRProtect_V647::$settings); | |
| 174 | + WPRProtect_V636::$settings = new WPRWPSettings(); | |
| 175 | + WPRProtect_V636::$db = new WPRWPDb(); | |
| 176 | + WPRProtect_V636::$info = new WPRInfo(WPRProtect_V636::$settings); | |
| 177 | 177 | |
| 178 | - add_action('wpr_clear_pt_config', array('WPRProtect_V647', 'uninstall')); | |
| 178 | + add_action('wpr_clear_pt_config', array('WPRProtect_V636', 'uninstall')); | |
| 179 | 179 | |
| 180 | 180 | if ($bvinfo->isActivePlugin()) { |
| 181 | - WPRProtect_V647::init(WPRProtect_V647::MODE_WP); | |
| 181 | + WPRProtect_V636::init(WPRProtect_V636::MODE_WP); | |
| 182 | 182 | } |
| 183 | 183 | } |
| 184 | 184 | |
| 185 | 185 | if ($bvinfo->isDynSyncModuleEnabled()) { |