PluginProbe
The WP Remote WordPress Plugin / 4.79
The WP Remote WordPress Plugin v4.79
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 +10 -18 4.874.79 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.87
8 +Version: 4.79
9 9 Network: True
10 10 */
11 11
12 12 /* Copyright 2017 WP Remote (email : support@wpremote.com)
@@ -63,9 +63,8 @@
63 63 $wpadmin = new WPRWPAdmin($bvsettings, $bvsiteinfo);
64 64 add_action('admin_init', array($wpadmin, 'initHandler'));
65 65 add_filter('all_plugins', array($wpadmin, 'initBranding'));
66 66 add_filter('plugin_row_meta', array($wpadmin, 'hidePluginDetails'), 10, 2);
67 - add_filter('debug_information', array($wpadmin, 'handlePluginHealthInfo'), 10, 1);
68 67 if ($bvsiteinfo->isMultisite()) {
69 68 add_action('network_admin_menu', array($wpadmin, 'menu'));
70 69 } else {
71 70 add_action('admin_menu', array($wpadmin, 'menu'));
@@ -73,26 +72,16 @@
73 72 add_filter('plugin_action_links', array($wpadmin, 'settingsLink'), 10, 2);
74 73 add_action('admin_head', array($wpadmin, 'removeAdminNotices'), 3);
75 74 add_action('admin_notices', array($wpadmin, 'activateWarning'));
76 75 add_action('admin_enqueue_scripts', array($wpadmin, 'wprsecAdminMenu'));
77 - ##ALPURGECACHEFUNCTION##
78 - ##ALADMINMENU##
76 + ##SOADMINMENU##
79 77 }
80 78
79 +
81 80 if ((array_key_exists('bvreqmerge', $_POST)) || (array_key_exists('bvreqmerge', $_GET))) {
82 81 $_REQUEST = array_merge($_GET, $_POST);
83 82 }
84 83
85 -if ($bvinfo->hasValidDBVersion()) {
86 - if ($bvinfo->isServiceActive('activity_log')) {
87 - require_once dirname( __FILE__ ) . '/wp_actlog.php';
88 - $bvconfig = $bvinfo->config;
89 - $actlog = new BVWPActLog($bvdb, $bvsettings, $bvinfo, $bvconfig['activity_log']);
90 - $actlog->init();
91 - }
92 -
93 -}
94 -
95 84 if ((array_key_exists('bvplugname', $_REQUEST)) && ($_REQUEST['bvplugname'] == "wpremote")) {
96 85 require_once dirname( __FILE__ ) . '/callback/base.php';
97 86 require_once dirname( __FILE__ ) . '/callback/response.php';
98 87 require_once dirname( __FILE__ ) . '/callback/request.php';
@@ -163,9 +152,16 @@
163 152 $dynsync = new BVWPDynSync($bvdb, $bvsettings, $bvconfig['dynsync']);
164 153 $dynsync->init();
165 154 }
166 155
156 + if ($bvinfo->isServiceActive('activity_log')) {
157 + require_once dirname( __FILE__ ) . '/wp_actlog.php';
158 + $bvconfig = $bvinfo->config;
159 + $actlog = new BVWPActLog($bvdb, $bvsettings, $bvinfo, $bvconfig['activity_log']);
160 + $actlog->init();
167 161 }
162 +
163 + }
168 164 $bv_site_settings = $bvsettings->getOption('bv_site_settings');
169 165 if (isset($bv_site_settings)) {
170 166 if (isset($bv_site_settings['wp_auto_updates'])) {
171 167 $wp_auto_updates = $bv_site_settings['wp_auto_updates'];
@@ -183,11 +179,7 @@
183 179 if (array_key_exists('block_auto_update_translation', $wp_auto_updates)) {
184 180 add_filter('auto_update_translation', '__return_false' );
185 181 }
186 182 }
187 - }
188 -
189 - if (is_admin()) {
190 - add_filter('site_transient_update_plugins', array($wpadmin, 'hidePluginUpdate'));
191 183 }
192 184
193 185 }