| @@ -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: 5.05 | |
| 8 | +Version: 4.84 | |
| 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 | -require_once dirname( __FILE__ ) . '/helper.php'; | |
| 41 | 40 | ##WPCACHEMODULE## |
| 42 | 41 | |
| 43 | 42 | |
| 44 | 43 | $bvsettings = new WPRWPSettings(); |
| @@ -57,10 +56,8 @@ | ||
| 57 | 56 | add_action('wp_footer', array($wp_action, 'footerHandler'), 100); |
| 58 | 57 | add_action('clear_bv_services_config', array($wp_action, 'clear_bv_services_config')); |
| 59 | 58 | ##SOADDUNINSTALLACTION## |
| 60 | 59 | |
| 61 | -##DISABLE_OTHER_OPTIMIZATION_PLUGINS## | |
| 62 | - | |
| 63 | 60 | ##WPCLIMODULE## |
| 64 | 61 | if (is_admin()) { |
| 65 | 62 | require_once dirname( __FILE__ ) . '/wp_admin.php'; |
| 66 | 63 | $wpadmin = new WPRWPAdmin($bvsettings, $bvsiteinfo); |
| @@ -66,9 +63,8 @@ | ||
| 66 | 63 | $wpadmin = new WPRWPAdmin($bvsettings, $bvsiteinfo); |
| 67 | 64 | add_action('admin_init', array($wpadmin, 'initHandler')); |
| 68 | 65 | add_filter('all_plugins', array($wpadmin, 'initBranding')); |
| 69 | 66 | add_filter('plugin_row_meta', array($wpadmin, 'hidePluginDetails'), 10, 2); |
| 70 | - add_filter('debug_information', array($wpadmin, 'handlePluginHealthInfo'), 10, 1); | |
| 71 | 67 | if ($bvsiteinfo->isMultisite()) { |
| 72 | 68 | add_action('network_admin_menu', array($wpadmin, 'menu')); |
| 73 | 69 | } else { |
| 74 | 70 | add_action('admin_menu', array($wpadmin, 'menu')); |
| @@ -186,11 +182,7 @@ | ||
| 186 | 182 | if (array_key_exists('block_auto_update_translation', $wp_auto_updates)) { |
| 187 | 183 | add_filter('auto_update_translation', '__return_false' ); |
| 188 | 184 | } |
| 189 | 185 | } |
| 190 | - } | |
| 191 | - | |
| 192 | - if (is_admin()) { | |
| 193 | - add_filter('site_transient_update_plugins', array($wpadmin, 'hidePluginUpdate')); | |
| 194 | 186 | } |
| 195 | 187 | |
| 196 | 188 | } |