| @@ -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.72 | |
| 8 | +Version: 6.76 | |
| 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 | */ |
| @@ -103,16 +103,13 @@ | ||
| 103 | 103 | |
| 104 | 104 | require_once dirname( __FILE__ ) . '/php_error_monitoring/monitoring.php'; |
| 105 | 105 | WPRWPPHPErrorMonitoring::init(); |
| 106 | 106 | |
| 107 | +require_once dirname( __FILE__ ) . '/wp_actlog.php'; | |
| 108 | +$actlog = new BVWPActLog($bvdb, $bvsettings, $bvinfo, $bvinfo->isActivityLogActive() ? $bvinfo->config['activity_log'] : array()); | |
| 109 | +$actlog->init(); | |
| 110 | + | |
| 107 | 111 | if ($bvinfo->hasValidDBVersion()) { |
| 108 | - if ($bvinfo->isServiceActive('activity_log')) { | |
| 109 | - require_once dirname( __FILE__ ) . '/wp_actlog.php'; | |
| 110 | - $bvconfig = $bvinfo->config; | |
| 111 | - $actlog = new BVWPActLog($bvdb, $bvsettings, $bvinfo, $bvconfig['activity_log']); | |
| 112 | - $actlog->init(); | |
| 113 | - } | |
| 114 | - | |
| 115 | 112 | ##MAINTENANCEMODULE## |
| 116 | 113 | } |
| 117 | 114 | |
| 118 | 115 | if (WPRHelper::getRawParam('REQUEST', 'bvplugname') == "wpremote") { |
| @@ -173,16 +170,16 @@ | ||
| 173 | 170 | if ($bvinfo->hasValidDBVersion()) { |
| 174 | 171 | if ($bvinfo->isProtectModuleEnabled()) { |
| 175 | 172 | require_once dirname( __FILE__ ) . '/protect/protect.php'; |
| 176 | 173 | //For backward compatibility. |
| 177 | - WPRProtect_V672::$settings = new WPRWPSettings(); | |
| 178 | - WPRProtect_V672::$db = new WPRWPDb(); | |
| 179 | - WPRProtect_V672::$info = new WPRInfo(WPRProtect_V672::$settings); | |
| 174 | + WPRProtect_V676::$settings = new WPRWPSettings(); | |
| 175 | + WPRProtect_V676::$db = new WPRWPDb(); | |
| 176 | + WPRProtect_V676::$info = new WPRInfo(WPRProtect_V676::$settings); | |
| 180 | 177 | |
| 181 | - add_action('wpr_clear_pt_config', array('WPRProtect_V672', 'uninstall')); | |
| 178 | + add_action('wpr_clear_pt_config', array('WPRProtect_V676', 'uninstall')); | |
| 182 | 179 | |
| 183 | 180 | if ($bvinfo->isActivePlugin()) { |
| 184 | - WPRProtect_V672::init(WPRProtect_V672::MODE_WP); | |
| 181 | + WPRProtect_V676::init(WPRProtect_V676::MODE_WP); | |
| 185 | 182 | } |
| 186 | 183 | } |
| 187 | 184 | |
| 188 | 185 | if ($bvinfo->isDynSyncModuleEnabled()) { |