/
home
/
techb158
/
balacoffee.com
/
wp-content
/
plugins
/
updraftplus
/
includes
/
/home/techb158/balacoffee.com/wp-content/plugins/updraftplus/includes
mkdir
upload
Name
Size
Mode
Actions
Backblaze/
-
0755
rm
blockui/
-
0755
rm
checkout-embed/
-
0755
rm
cloudfiles/
-
0755
rm
Dropbox2/
-
0755
rm
Google/
-
0755
rm
handlebars/
-
0755
rm
images/
-
0755
rm
jquery-ui.dialog.extended/
-
0755
rm
jquery.serializeJSON/
-
0755
rm
jstree/
-
0755
rm
labelauty/
-
0755
rm
onedrive/
-
0755
rm
pcloud/
-
0755
rm
PEAR/
-
0755
rm
select2/
-
0755
rm
tether/
-
0755
rm
tether-shepherd/
-
0755
rm
updraftclone/
-
0755
rm
WindowsAzure/
-
0755
rm
azure-extensions.php
3317
0644
edit
dl
rm
cacert.pem
208065
0644
edit
dl
rm
class-backup-history.php
40355
0644
edit
dl
rm
class-commands.php
48803
0644
edit
dl
rm
class-database-utility.php
34321
0644
edit
dl
rm
class-filesystem-functions.php
36227
0644
edit
dl
rm
class-http-error-descriptions.php
10239
0644
edit
dl
rm
class-job-scheduler.php
10552
0644
edit
dl
rm
class-manipulation-functions.php
17136
0644
edit
dl
rm
class-onedrive-account.php
1590
0644
edit
dl
rm
class-partialfileservlet.php
7082
0644
edit
dl
rm
class-remote-send.php
30664
0644
edit
dl
rm
class-search-replace.php
20685
0644
edit
dl
rm
class-semaphore.php
6424
0644
edit
dl
rm
class-storage-methods-interface.php
18612
0644
edit
dl
rm
class-updraft-dashboard-news.php
8137
0644
edit
dl
rm
class-updraft-semaphore.php
7693
0644
edit
dl
rm
class-updraftcentral-updraftplus-commands.php
1857
0644
edit
dl
rm
class-updraftplus-encryption.php
13887
0644
edit
dl
rm
class-wpadmin-commands.php
36646
0644
edit
dl
rm
class-zip.php
18301
0644
edit
dl
rm
ftp.class.php
6658
0644
edit
dl
rm
get-cpanel-quota-usage.pl
408
0644
edit
dl
rm
google-extensions.php
9373
0644
edit
dl
rm
jquery-ui.custom-v1.11.4-2-23-4.min.css
38751
0644
edit
dl
rm
jquery-ui.custom-v1.11.4-2-23-4.min.css.map
58374
0644
edit
dl
rm
jquery-ui.custom-v1.11.4.css
43193
0644
edit
dl
rm
jquery-ui.custom-v1.12.1-2-23-4.min.css
40497
0644
edit
dl
rm
jquery-ui.custom-v1.12.1-2-23-4.min.css.map
60839
0644
edit
dl
rm
jquery-ui.custom-v1.12.1.css
45090
0644
edit
dl
rm
S3.php
78552
0644
edit
dl
rm
S3compat.php
31971
0644
edit
dl
rm
updraft-admin-common-2-23-4.min.js
152115
0644
edit
dl
rm
updraft-admin-common.js
251209
0644
edit
dl
rm
updraft-restorer-skin-compatibility.php
452
0644
edit
dl
rm
updraft-restorer-skin.php
1723
0644
edit
dl
rm
updraftcentral.php
2759
0644
edit
dl
rm
updraftplus-clone.php
7136
0644
edit
dl
rm
updraftplus-login.php
4368
0644
edit
dl
rm
updraftplus-notices.php
21428
0644
edit
dl
rm
updraftplus-tour.php
13295
0644
edit
dl
rm
updraftvault.php
2040
0644
edit
dl
rm
Edit:
/home/techb158/balacoffee.com/wp-content/plugins/updraftplus/includes/updraftcentral.php
(2759B)
<?php if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed.'); if (!class_exists('UpdraftPlus_Login')) require_once('updraftplus-login.php'); class UpdraftPlus_UpdraftCentral_Cloud extends UpdraftPlus_Login { /** * Pulls the appropriate message for the given code and translate it before * returning it to the caller * * @internal * @param string $code The code of the message to pull * @return string - The translated message */ protected function translate_message($code) { switch ($code) { case 'generic': default: return __('An error has occurred while processing your request. The server might be busy or you have lost your connection to the internet at the time of the request. Please try again later.', 'updraftplus'); break; } } /** * Executes login or registration process. Connects and sends request to the UpdraftCentral Cloud * and returns the response coming from the server * * @internal * @param array $data The submitted form data * @param boolean $register Indicates whether the current call is for a registration process or not. Defaults to false. * @return array - The response from the request */ protected function login_or_register($data, $register = false) { global $updraftplus, $updraftcentral_main; $action = ($register) ? 'updraftcentral_cloud_register' : 'updraftcentral_cloud_login'; if (empty($data['site_url'])) $data['site_url'] = trailingslashit(network_site_url()); $response = $this->send_remote_request($data, $action); if (is_wp_error($response)) { $response = array('error' => true, 'code' => $response->get_error_code(), 'message' => $response->get_error_message()); } else { if (isset($response['status'])) { if (in_array($response['status'], array('authenticated', 'registered'))) { $response['redirect_url'] = $updraftplus->get_url('mothership').'/?udm_action=updraftcentral_cloud_redirect'; if (is_a($updraftcentral_main, 'UpdraftCentral_Main')) { $response['keys_table'] = $updraftcentral_main->get_keys_table(); } if (!empty($data['addons_options_connect']) && class_exists('UpdraftPlus_Options')) { UpdraftPlus_Options::update_updraft_option('updraftplus_com_and_udc_connection_success', 1, false); } } else { if ('error' === $response['status']) { $response = array( 'error' => true, 'code' => isset($response['code']) ? $response['code'] : -1, 'message' => isset($response['message']) ? $response['message'] : $this->translate_message('generic'), 'response' => $response ); } } } else { $response = array('error' => true, 'message' => $this->translate_message('generic')); } } return $response; } }
Save
cmd:
run