PluginProbe
The WP Remote WordPress Plugin / 4.66
The WP Remote WordPress Plugin v4.66
6.72 6.69 6.65 6.62 6.48 6.47 4.87 4.97 5.05 5.09 5.16 5.22 5.24 5.25 5.38 5.41 5.42 5.45 5.47 5.53 5.56 5.65 5.68 5.72 5.73 All 53 releases
← All changes | plugin.php +9 -22 4.974.66 View file →
@@ -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: 4.97
8 +Version: 4.66
9 9 Network: True
10 10 */
11 11
12 12 /* Copyright 2017 WP Remote (email : support@wpremote.com)
@@ -36,9 +36,8 @@
36 36 require_once dirname( __FILE__ ) . '/wp_api.php';
37 37 require_once dirname( __FILE__ ) . '/wp_actions.php';
38 38 require_once dirname( __FILE__ ) . '/info.php';
39 39 require_once dirname( __FILE__ ) . '/account.php';
40 -##WPCACHEMODULE##
41 40
42 41
43 42 $bvsettings = new WPRWPSettings();
44 43 $bvsiteinfo = new WPRWPSiteInfo();
@@ -54,12 +53,9 @@
54 53 register_deactivation_hook(__FILE__, array($wp_action, 'deactivate'));
55 54
56 55 add_action('wp_footer', array($wp_action, 'footerHandler'), 100);
57 56 add_action('clear_bv_services_config', array($wp_action, 'clear_bv_services_config'));
58 -##SOADDUNINSTALLACTION##
59 57
60 -##DISABLE_OTHER_OPTIMIZATION_PLUGINS##
61 -
62 58 ##WPCLIMODULE##
63 59 if (is_admin()) {
64 60 require_once dirname( __FILE__ ) . '/wp_admin.php';
65 61 $wpadmin = new WPRWPAdmin($bvsettings, $bvsiteinfo);
@@ -65,9 +61,8 @@
65 61 $wpadmin = new WPRWPAdmin($bvsettings, $bvsiteinfo);
66 62 add_action('admin_init', array($wpadmin, 'initHandler'));
67 63 add_filter('all_plugins', array($wpadmin, 'initBranding'));
68 64 add_filter('plugin_row_meta', array($wpadmin, 'hidePluginDetails'), 10, 2);
69 - add_filter('debug_information', array($wpadmin, 'handlePluginHealthInfo'), 10, 1);
70 65 if ($bvsiteinfo->isMultisite()) {
71 66 add_action('network_admin_menu', array($wpadmin, 'menu'));
72 67 } else {
73 68 add_action('admin_menu', array($wpadmin, 'menu'));
@@ -75,26 +70,15 @@
75 70 add_filter('plugin_action_links', array($wpadmin, 'settingsLink'), 10, 2);
76 71 add_action('admin_head', array($wpadmin, 'removeAdminNotices'), 3);
77 72 add_action('admin_notices', array($wpadmin, 'activateWarning'));
78 73 add_action('admin_enqueue_scripts', array($wpadmin, 'wprsecAdminMenu'));
79 - ##ALPURGECACHEFUNCTION##
80 - ##ALADMINMENU##
81 74 }
82 75
76 +
83 77 if ((array_key_exists('bvreqmerge', $_POST)) || (array_key_exists('bvreqmerge', $_GET))) {
84 78 $_REQUEST = array_merge($_GET, $_POST);
85 79 }
86 80
87 -if ($bvinfo->hasValidDBVersion()) {
88 - if ($bvinfo->isServiceActive('activity_log')) {
89 - require_once dirname( __FILE__ ) . '/wp_actlog.php';
90 - $bvconfig = $bvinfo->config;
91 - $actlog = new BVWPActLog($bvdb, $bvsettings, $bvinfo, $bvconfig['activity_log']);
92 - $actlog->init();
93 - }
94 -
95 -}
96 -
97 81 if ((array_key_exists('bvplugname', $_REQUEST)) && ($_REQUEST['bvplugname'] == "wpremote")) {
98 82 require_once dirname( __FILE__ ) . '/callback/base.php';
99 83 require_once dirname( __FILE__ ) . '/callback/response.php';
100 84 require_once dirname( __FILE__ ) . '/callback/request.php';
@@ -165,9 +149,16 @@
165 149 $dynsync = new BVWPDynSync($bvdb, $bvsettings, $bvconfig['dynsync']);
166 150 $dynsync->init();
167 151 }
168 152
153 + if ($bvinfo->isServiceActive('activity_log')) {
154 + require_once dirname( __FILE__ ) . '/wp_actlog.php';
155 + $bvconfig = $bvinfo->config;
156 + $actlog = new BVWPActLog($bvdb, $bvsettings, $bvinfo, $bvconfig['activity_log']);
157 + $actlog->init();
169 158 }
159 +
160 + }
170 161 $bv_site_settings = $bvsettings->getOption('bv_site_settings');
171 162 if (isset($bv_site_settings)) {
172 163 if (isset($bv_site_settings['wp_auto_updates'])) {
173 164 $wp_auto_updates = $bv_site_settings['wp_auto_updates'];
@@ -185,11 +176,7 @@
185 176 if (array_key_exists('block_auto_update_translation', $wp_auto_updates)) {
186 177 add_filter('auto_update_translation', '__return_false' );
187 178 }
188 179 }
189 - }
190 -
191 - if (is_admin()) {
192 - add_filter('site_transient_update_plugins', array($wpadmin, 'hidePluginUpdate'));
193 180 }
194 181
195 182 }