Changeset 2370481
- Timestamp:
- 08/27/2020 03:47:16 PM (5 years ago)
- Location:
- wordfence
- Files:
-
- 112 added
- 112 deleted
- 16 edited
- 1 copied
-
tags/7.4.11 (copied) (copied from wordfence/trunk)
-
tags/7.4.11/css/activity-report-widget.1596638737.css (deleted)
-
tags/7.4.11/css/activity-report-widget.1598542714.css (added)
-
tags/7.4.11/css/diff.1596638737.css (deleted)
-
tags/7.4.11/css/diff.1598542714.css (added)
-
tags/7.4.11/css/dt_table.1596638737.css (deleted)
-
tags/7.4.11/css/dt_table.1598542714.css (added)
-
tags/7.4.11/css/fullLog.1596638737.css (deleted)
-
tags/7.4.11/css/fullLog.1598542714.css (added)
-
tags/7.4.11/css/iptraf.1596638737.css (deleted)
-
tags/7.4.11/css/iptraf.1598542714.css (added)
-
tags/7.4.11/css/jquery-ui-timepicker-addon.1596638737.css (deleted)
-
tags/7.4.11/css/jquery-ui-timepicker-addon.1598542714.css (added)
-
tags/7.4.11/css/jquery-ui.min.1596638737.css (deleted)
-
tags/7.4.11/css/jquery-ui.min.1598542714.css (added)
-
tags/7.4.11/css/jquery-ui.structure.min.1596638737.css (deleted)
-
tags/7.4.11/css/jquery-ui.structure.min.1598542714.css (added)
-
tags/7.4.11/css/jquery-ui.theme.min.1596638737.css (deleted)
-
tags/7.4.11/css/jquery-ui.theme.min.1598542714.css (added)
-
tags/7.4.11/css/main.1596638737.css (deleted)
-
tags/7.4.11/css/main.1598542714.css (added)
-
tags/7.4.11/css/phpinfo.1596638737.css (deleted)
-
tags/7.4.11/css/phpinfo.1598542714.css (added)
-
tags/7.4.11/css/wf-adminbar.1596638737.css (deleted)
-
tags/7.4.11/css/wf-adminbar.1598542714.css (added)
-
tags/7.4.11/css/wf-colorbox.1596638737.css (deleted)
-
tags/7.4.11/css/wf-colorbox.1598542714.css (added)
-
tags/7.4.11/css/wf-font-awesome.1596638737.css (deleted)
-
tags/7.4.11/css/wf-font-awesome.1598542714.css (added)
-
tags/7.4.11/css/wf-global.1596638737.css (deleted)
-
tags/7.4.11/css/wf-global.1598542714.css (added)
-
tags/7.4.11/css/wf-ionicons.1596638737.css (deleted)
-
tags/7.4.11/css/wf-ionicons.1598542714.css (added)
-
tags/7.4.11/css/wf-onboarding.1596638737.css (deleted)
-
tags/7.4.11/css/wf-onboarding.1598542714.css (added)
-
tags/7.4.11/css/wf-roboto-font.1596638737.css (deleted)
-
tags/7.4.11/css/wf-roboto-font.1598542714.css (added)
-
tags/7.4.11/css/wfselect2.min.1596638737.css (deleted)
-
tags/7.4.11/css/wfselect2.min.1598542714.css (added)
-
tags/7.4.11/css/wordfenceBox.1596638737.css (deleted)
-
tags/7.4.11/css/wordfenceBox.1598542714.css (added)
-
tags/7.4.11/js/Chart.bundle.min.1596638737.js (deleted)
-
tags/7.4.11/js/Chart.bundle.min.1598542714.js (added)
-
tags/7.4.11/js/admin.1596638737.js (deleted)
-
tags/7.4.11/js/admin.1598542714.js (added)
-
tags/7.4.11/js/admin.ajaxWatcher.1596638737.js (deleted)
-
tags/7.4.11/js/admin.ajaxWatcher.1598542714.js (added)
-
tags/7.4.11/js/admin.liveTraffic.1596638737.js (deleted)
-
tags/7.4.11/js/admin.liveTraffic.1598542714.js (added)
-
tags/7.4.11/js/date.1596638737.js (deleted)
-
tags/7.4.11/js/date.1598542714.js (added)
-
tags/7.4.11/js/jquery-ui-timepicker-addon.1596638737.js (deleted)
-
tags/7.4.11/js/jquery-ui-timepicker-addon.1598542714.js (added)
-
tags/7.4.11/js/jquery.colorbox-min.1596638737.js (deleted)
-
tags/7.4.11/js/jquery.colorbox-min.1598542714.js (added)
-
tags/7.4.11/js/jquery.colorbox.1596638737.js (deleted)
-
tags/7.4.11/js/jquery.colorbox.1598542714.js (added)
-
tags/7.4.11/js/jquery.dataTables.min.1596638737.js (deleted)
-
tags/7.4.11/js/jquery.dataTables.min.1598542714.js (added)
-
tags/7.4.11/js/jquery.qrcode.min.1596638737.js (deleted)
-
tags/7.4.11/js/jquery.qrcode.min.1598542714.js (added)
-
tags/7.4.11/js/jquery.tmpl.min.1596638737.js (deleted)
-
tags/7.4.11/js/jquery.tmpl.min.1598542714.js (added)
-
tags/7.4.11/js/jquery.tools.min.1596638737.js (deleted)
-
tags/7.4.11/js/jquery.tools.min.1598542714.js (added)
-
tags/7.4.11/js/knockout-3.3.0.1596638737.js (deleted)
-
tags/7.4.11/js/knockout-3.3.0.1598542714.js (added)
-
tags/7.4.11/js/wfdashboard.1596638737.js (deleted)
-
tags/7.4.11/js/wfdashboard.1598542714.js (added)
-
tags/7.4.11/js/wfdropdown.1596638737.js (deleted)
-
tags/7.4.11/js/wfdropdown.1598542714.js (added)
-
tags/7.4.11/js/wfglobal.1596638737.js (deleted)
-
tags/7.4.11/js/wfglobal.1598542714.js (added)
-
tags/7.4.11/js/wfpopover.1596638737.js (deleted)
-
tags/7.4.11/js/wfpopover.1598542714.js (added)
-
tags/7.4.11/js/wfselect2.min.1596638737.js (deleted)
-
tags/7.4.11/js/wfselect2.min.1598542714.js (added)
-
tags/7.4.11/lib/menu_tools_diagnostic.php (modified) (1 diff)
-
tags/7.4.11/lib/wfCentralAPI.php (modified) (1 diff)
-
tags/7.4.11/lib/wfSupportController.php (modified) (4 diffs)
-
tags/7.4.11/lib/wordfenceClass.php (modified) (2 diffs)
-
tags/7.4.11/lib/wordfenceHash.php (modified) (3 diffs)
-
tags/7.4.11/modules/login-security/css/admin-global.1596638737.css (deleted)
-
tags/7.4.11/modules/login-security/css/admin-global.1598542714.css (added)
-
tags/7.4.11/modules/login-security/css/admin.1596638737.css (deleted)
-
tags/7.4.11/modules/login-security/css/admin.1598542714.css (added)
-
tags/7.4.11/modules/login-security/css/colorbox.1596638737.css (deleted)
-
tags/7.4.11/modules/login-security/css/colorbox.1598542714.css (added)
-
tags/7.4.11/modules/login-security/css/font-awesome.1596638737.css (deleted)
-
tags/7.4.11/modules/login-security/css/font-awesome.1598542714.css (added)
-
tags/7.4.11/modules/login-security/css/ionicons.1596638737.css (deleted)
-
tags/7.4.11/modules/login-security/css/ionicons.1598542714.css (added)
-
tags/7.4.11/modules/login-security/css/jquery-ui-timepicker-addon.1596638737.css (deleted)
-
tags/7.4.11/modules/login-security/css/jquery-ui-timepicker-addon.1598542714.css (added)
-
tags/7.4.11/modules/login-security/css/jquery-ui.min.1596638737.css (deleted)
-
tags/7.4.11/modules/login-security/css/jquery-ui.min.1598542714.css (added)
-
tags/7.4.11/modules/login-security/css/jquery-ui.structure.min.1596638737.css (deleted)
-
tags/7.4.11/modules/login-security/css/jquery-ui.structure.min.1598542714.css (added)
-
tags/7.4.11/modules/login-security/css/jquery-ui.theme.min.1596638737.css (deleted)
-
tags/7.4.11/modules/login-security/css/jquery-ui.theme.min.1598542714.css (added)
-
tags/7.4.11/modules/login-security/css/login.1596638737.css (deleted)
-
tags/7.4.11/modules/login-security/css/login.1598542714.css (added)
-
tags/7.4.11/modules/login-security/js/admin-global.1596638737.js (deleted)
-
tags/7.4.11/modules/login-security/js/admin-global.1598542714.js (added)
-
tags/7.4.11/modules/login-security/js/admin.1596638737.js (deleted)
-
tags/7.4.11/modules/login-security/js/admin.1598542714.js (added)
-
tags/7.4.11/modules/login-security/js/jquery-ui-timepicker-addon.1596638737.js (deleted)
-
tags/7.4.11/modules/login-security/js/jquery-ui-timepicker-addon.1598542714.js (added)
-
tags/7.4.11/modules/login-security/js/jquery.colorbox.1596638737.js (deleted)
-
tags/7.4.11/modules/login-security/js/jquery.colorbox.1598542714.js (added)
-
tags/7.4.11/modules/login-security/js/jquery.colorbox.min.1596638737.js (deleted)
-
tags/7.4.11/modules/login-security/js/jquery.colorbox.min.1598542714.js (added)
-
tags/7.4.11/modules/login-security/js/jquery.qrcode.min.1596638737.js (deleted)
-
tags/7.4.11/modules/login-security/js/jquery.qrcode.min.1598542714.js (added)
-
tags/7.4.11/modules/login-security/js/jquery.tmpl.min.1596638737.js (deleted)
-
tags/7.4.11/modules/login-security/js/jquery.tmpl.min.1598542714.js (added)
-
tags/7.4.11/modules/login-security/js/login.1596638737.js (deleted)
-
tags/7.4.11/modules/login-security/js/login.1598542714.js (added)
-
tags/7.4.11/modules/login-security/wordfence-login-security.php (modified) (1 diff)
-
tags/7.4.11/readme.txt (modified) (2 diffs)
-
tags/7.4.11/wordfence.php (modified) (2 diffs)
-
trunk/css/activity-report-widget.1596638737.css (deleted)
-
trunk/css/activity-report-widget.1598542714.css (added)
-
trunk/css/diff.1596638737.css (deleted)
-
trunk/css/diff.1598542714.css (added)
-
trunk/css/dt_table.1596638737.css (deleted)
-
trunk/css/dt_table.1598542714.css (added)
-
trunk/css/fullLog.1596638737.css (deleted)
-
trunk/css/fullLog.1598542714.css (added)
-
trunk/css/iptraf.1596638737.css (deleted)
-
trunk/css/iptraf.1598542714.css (added)
-
trunk/css/jquery-ui-timepicker-addon.1596638737.css (deleted)
-
trunk/css/jquery-ui-timepicker-addon.1598542714.css (added)
-
trunk/css/jquery-ui.min.1596638737.css (deleted)
-
trunk/css/jquery-ui.min.1598542714.css (added)
-
trunk/css/jquery-ui.structure.min.1596638737.css (deleted)
-
trunk/css/jquery-ui.structure.min.1598542714.css (added)
-
trunk/css/jquery-ui.theme.min.1596638737.css (deleted)
-
trunk/css/jquery-ui.theme.min.1598542714.css (added)
-
trunk/css/main.1596638737.css (deleted)
-
trunk/css/main.1598542714.css (added)
-
trunk/css/phpinfo.1596638737.css (deleted)
-
trunk/css/phpinfo.1598542714.css (added)
-
trunk/css/wf-adminbar.1596638737.css (deleted)
-
trunk/css/wf-adminbar.1598542714.css (added)
-
trunk/css/wf-colorbox.1596638737.css (deleted)
-
trunk/css/wf-colorbox.1598542714.css (added)
-
trunk/css/wf-font-awesome.1596638737.css (deleted)
-
trunk/css/wf-font-awesome.1598542714.css (added)
-
trunk/css/wf-global.1596638737.css (deleted)
-
trunk/css/wf-global.1598542714.css (added)
-
trunk/css/wf-ionicons.1596638737.css (deleted)
-
trunk/css/wf-ionicons.1598542714.css (added)
-
trunk/css/wf-onboarding.1596638737.css (deleted)
-
trunk/css/wf-onboarding.1598542714.css (added)
-
trunk/css/wf-roboto-font.1596638737.css (deleted)
-
trunk/css/wf-roboto-font.1598542714.css (added)
-
trunk/css/wfselect2.min.1596638737.css (deleted)
-
trunk/css/wfselect2.min.1598542714.css (added)
-
trunk/css/wordfenceBox.1596638737.css (deleted)
-
trunk/css/wordfenceBox.1598542714.css (added)
-
trunk/js/Chart.bundle.min.1596638737.js (deleted)
-
trunk/js/Chart.bundle.min.1598542714.js (added)
-
trunk/js/admin.1596638737.js (deleted)
-
trunk/js/admin.1598542714.js (added)
-
trunk/js/admin.ajaxWatcher.1596638737.js (deleted)
-
trunk/js/admin.ajaxWatcher.1598542714.js (added)
-
trunk/js/admin.liveTraffic.1596638737.js (deleted)
-
trunk/js/admin.liveTraffic.1598542714.js (added)
-
trunk/js/date.1596638737.js (deleted)
-
trunk/js/date.1598542714.js (added)
-
trunk/js/jquery-ui-timepicker-addon.1596638737.js (deleted)
-
trunk/js/jquery-ui-timepicker-addon.1598542714.js (added)
-
trunk/js/jquery.colorbox-min.1596638737.js (deleted)
-
trunk/js/jquery.colorbox-min.1598542714.js (added)
-
trunk/js/jquery.colorbox.1596638737.js (deleted)
-
trunk/js/jquery.colorbox.1598542714.js (added)
-
trunk/js/jquery.dataTables.min.1596638737.js (deleted)
-
trunk/js/jquery.dataTables.min.1598542714.js (added)
-
trunk/js/jquery.qrcode.min.1596638737.js (deleted)
-
trunk/js/jquery.qrcode.min.1598542714.js (added)
-
trunk/js/jquery.tmpl.min.1596638737.js (deleted)
-
trunk/js/jquery.tmpl.min.1598542714.js (added)
-
trunk/js/jquery.tools.min.1596638737.js (deleted)
-
trunk/js/jquery.tools.min.1598542714.js (added)
-
trunk/js/knockout-3.3.0.1596638737.js (deleted)
-
trunk/js/knockout-3.3.0.1598542714.js (added)
-
trunk/js/wfdashboard.1596638737.js (deleted)
-
trunk/js/wfdashboard.1598542714.js (added)
-
trunk/js/wfdropdown.1596638737.js (deleted)
-
trunk/js/wfdropdown.1598542714.js (added)
-
trunk/js/wfglobal.1596638737.js (deleted)
-
trunk/js/wfglobal.1598542714.js (added)
-
trunk/js/wfpopover.1596638737.js (deleted)
-
trunk/js/wfpopover.1598542714.js (added)
-
trunk/js/wfselect2.min.1596638737.js (deleted)
-
trunk/js/wfselect2.min.1598542714.js (added)
-
trunk/lib/menu_tools_diagnostic.php (modified) (1 diff)
-
trunk/lib/wfCentralAPI.php (modified) (1 diff)
-
trunk/lib/wfSupportController.php (modified) (4 diffs)
-
trunk/lib/wordfenceClass.php (modified) (2 diffs)
-
trunk/lib/wordfenceHash.php (modified) (3 diffs)
-
trunk/modules/login-security/css/admin-global.1596638737.css (deleted)
-
trunk/modules/login-security/css/admin-global.1598542714.css (added)
-
trunk/modules/login-security/css/admin.1596638737.css (deleted)
-
trunk/modules/login-security/css/admin.1598542714.css (added)
-
trunk/modules/login-security/css/colorbox.1596638737.css (deleted)
-
trunk/modules/login-security/css/colorbox.1598542714.css (added)
-
trunk/modules/login-security/css/font-awesome.1596638737.css (deleted)
-
trunk/modules/login-security/css/font-awesome.1598542714.css (added)
-
trunk/modules/login-security/css/ionicons.1596638737.css (deleted)
-
trunk/modules/login-security/css/ionicons.1598542714.css (added)
-
trunk/modules/login-security/css/jquery-ui-timepicker-addon.1596638737.css (deleted)
-
trunk/modules/login-security/css/jquery-ui-timepicker-addon.1598542714.css (added)
-
trunk/modules/login-security/css/jquery-ui.min.1596638737.css (deleted)
-
trunk/modules/login-security/css/jquery-ui.min.1598542714.css (added)
-
trunk/modules/login-security/css/jquery-ui.structure.min.1596638737.css (deleted)
-
trunk/modules/login-security/css/jquery-ui.structure.min.1598542714.css (added)
-
trunk/modules/login-security/css/jquery-ui.theme.min.1596638737.css (deleted)
-
trunk/modules/login-security/css/jquery-ui.theme.min.1598542714.css (added)
-
trunk/modules/login-security/css/login.1596638737.css (deleted)
-
trunk/modules/login-security/css/login.1598542714.css (added)
-
trunk/modules/login-security/js/admin-global.1596638737.js (deleted)
-
trunk/modules/login-security/js/admin-global.1598542714.js (added)
-
trunk/modules/login-security/js/admin.1596638737.js (deleted)
-
trunk/modules/login-security/js/admin.1598542714.js (added)
-
trunk/modules/login-security/js/jquery-ui-timepicker-addon.1596638737.js (deleted)
-
trunk/modules/login-security/js/jquery-ui-timepicker-addon.1598542714.js (added)
-
trunk/modules/login-security/js/jquery.colorbox.1596638737.js (deleted)
-
trunk/modules/login-security/js/jquery.colorbox.1598542714.js (added)
-
trunk/modules/login-security/js/jquery.colorbox.min.1596638737.js (deleted)
-
trunk/modules/login-security/js/jquery.colorbox.min.1598542714.js (added)
-
trunk/modules/login-security/js/jquery.qrcode.min.1596638737.js (deleted)
-
trunk/modules/login-security/js/jquery.qrcode.min.1598542714.js (added)
-
trunk/modules/login-security/js/jquery.tmpl.min.1596638737.js (deleted)
-
trunk/modules/login-security/js/jquery.tmpl.min.1598542714.js (added)
-
trunk/modules/login-security/js/login.1596638737.js (deleted)
-
trunk/modules/login-security/js/login.1598542714.js (added)
-
trunk/modules/login-security/wordfence-login-security.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wordfence.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordfence/tags/7.4.11/lib/menu_tools_diagnostic.php
r2337484 r2370481 845 845 </span> 846 846 </li> 847 <li> 848 <span> 849 <?php _e('Clear all Wordfence Central connection data', 'wordfence'); ?> <a href="<?php echo wfSupportController::esc_supportURL(wfSupportController::ITEM_DIAGNOSTICS_REMOVE_CENTRAL_DATA); ?>" target="_blank" rel="noopener noreferrer" class="wfhelp wf-inline-help"></a> 850 <input class="wf-btn wf-btn-default wf-btn-sm" type="button" value="<?php esc_attr_e('Clear Connection Data', 'wordfence'); ?>" onclick="WFAD.ajax('wordfence_wfcentral_disconnect', {}, function() { WFAD.colorboxModal((self.isSmallScreen ? '300px' : '400px'), 'Successfully romved data', 'All associated Wordfence Central data has been removed from the database.'); });"/> 851 </span> 852 </li> 847 853 </ul> 848 854 -
wordfence/tags/7.4.11/lib/wfCentralAPI.php
r2337484 r2370481 60 60 $http = _wp_http_get_object(); 61 61 $response = $http->request(WORDFENCE_CENTRAL_API_URL_SEC . $this->getEndpoint(), $args); 62 63 if (!is_wp_error($response)) { 64 $body = wp_remote_retrieve_body($response); 65 $statusCode = wp_remote_retrieve_response_code($response); 66 67 // Check if site has been disconnected on Central's end, but the plugin is still trying to connect. 68 if ($statusCode === 404 && strpos($body, 'Site has been disconnected') !== false) { 69 // Increment attempt count. 70 $centralDisconnectCount = get_site_transient('wordfenceCentralDisconnectCount'); 71 set_site_transient('wordfenceCentralDisconnectCount', ++$centralDisconnectCount, 86400); 72 73 // Once threshold is hit, disconnect Central. 74 if ($centralDisconnectCount > 3) { 75 wfRESTConfigController::disconnectConfig(); 76 } 77 } 78 } 79 62 80 return new wfCentralAPIResponse($response); 63 81 } -
wordfence/tags/7.4.11/lib/wfSupportController.php
r2337484 r2370481 149 149 const ITEM_SCAN_RESULT_SKIPPED_PATHS = 'scan-result-skipped-paths'; 150 150 const ITEM_SCAN_RESULT_REPAIR_MODIFIED_FILES = 'scan-result-repair-modified-files'; 151 const ITEM_SCAN_RESULT_MODIFIED_PLUGIN = 'scan-result-modified-plugin'; 152 const ITEM_SCAN_RESULT_MODIFIED_THEME = 'scan-result-modified-theme'; 151 153 152 154 const ITEM_TOOLS_TWO_FACTOR = 'tools-two-factor'; … … 160 162 const ITEM_DIAGNOSTICS_TEST_EMAIL = 'diagnostics-test-email'; 161 163 const ITEM_DIAGNOSTICS_TEST_ACTIVITY_REPORT = 'diagnostics-test-activity-report'; 164 const ITEM_DIAGNOSTICS_REMOVE_CENTRAL_DATA = 'diagnostics-remove-central-data'; 162 165 const ITEM_DIAGNOSTICS_OPTION_DEBUGGING_MODE = 'diagnostics-option-debugging-mode'; 163 166 const ITEM_DIAGNOSTICS_OPTION_REMOTE_SCANS = 'diagnostics-option-remote-scans'; … … 327 330 case self::ITEM_SCAN_RESULT_SKIPPED_PATHS: 328 331 case self::ITEM_SCAN_RESULT_REPAIR_MODIFIED_FILES: 332 case self::ITEM_SCAN_RESULT_MODIFIED_PLUGIN: 333 case self::ITEM_SCAN_RESULT_MODIFIED_THEME: 329 334 330 335 case self::ITEM_TOOLS_TWO_FACTOR: … … 338 343 case self::ITEM_DIAGNOSTICS_TEST_EMAIL: 339 344 case self::ITEM_DIAGNOSTICS_TEST_ACTIVITY_REPORT: 345 case self::ITEM_DIAGNOSTICS_REMOVE_CENTRAL_DATA: 340 346 case self::ITEM_DIAGNOSTICS_OPTION_DEBUGGING_MODE: 341 347 case self::ITEM_DIAGNOSTICS_OPTION_REMOTE_SCANS: -
wordfence/tags/7.4.11/lib/wordfenceClass.php
r2353220 r2370481 322 322 wfConfig::remove('lastPermissionsTemplateCheck'); 323 323 } 324 public static function _scheduleRefreshUpdateNotification($upgrader , $options) {324 public static function _scheduleRefreshUpdateNotification($upgrader = null, $options = null) { 325 325 $defer = false; 326 326 if (is_array($options) && isset($options['type']) && $options['type'] == 'core') { … … 1285 1285 add_action('upgrader_process_complete', 'wfUpdateCheck::syncAllVersionInfo'); 1286 1286 add_action('upgrader_process_complete', 'wordfence::_scheduleRefreshUpdateNotification', 99, 2); 1287 add_action('automatic_updates_complete', 'wordfence::_scheduleRefreshUpdateNotification', 99, 0); 1287 1288 add_action('wordfence_refreshUpdateNotification', 'wordfence::_refreshUpdateNotification', 99, 0); 1288 1289 add_action('wordfence_completeCoreUpdateNotification', 'wordfence::_completeCoreUpdateNotification', 99, 0); -
wordfence/tags/7.4.11/lib/wordfenceHash.php
r2290265 r2370481 432 432 433 433 $realPath = realpath($path); 434 if ($realPath === '/') { 435 return false; 436 } 434 437 if (isset($this->foldersProcessed[$realPath])) { 435 438 return false; … … 526 529 'modifiedplugin' . $file . $md5, 527 530 'Modified plugin file: ' . $file, 528 "This file belongs to plugin \"$itemName\" version \"$itemVersion\" and has been modified from the file that is distributed by WordPress.org for this version. Please use the link to see how the file has changed. If you have modified this file yourself, you can safely ignore this warning. If you see a lot of changed files in a plugin that have been made by the author, then try uninstalling and reinstalling the plugin to force an upgrade. Doing this is a workaround for plugin authors who don't manage their code correctly. [See our FAQ on www.wordfence.com for more info]",531 sprintf(__("This file belongs to plugin \"$itemName\" version \"$itemVersion\" and has been modified from the file that is distributed by WordPress.org for this version. Please use the link to see how the file has changed. If you have modified this file yourself, you can safely ignore this warning. If you see a lot of changed files in a plugin that have been made by the author, then try uninstalling and reinstalling the plugin to force an upgrade. Doing this is a workaround for plugin authors who don't manage their code correctly. <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Learn More</a>", 'wordfence'), wfSupportController::esc_supportURL(wfSupportController::ITEM_SCAN_RESULT_MODIFIED_PLUGIN)), 529 532 array( 530 533 'file' => $file, … … 566 569 'modifiedtheme' . $file . $md5, 567 570 'Modified theme file: ' . $file, 568 "This file belongs to theme \"$itemName\" version \"$itemVersion\" and has been modified from the original distribution. It is common for site owners to modify their theme files, so if you have modified this file yourself you can safely ignore this warning.",571 sprintf(__("This file belongs to theme \"$itemName\" version \"$itemVersion\" and has been modified from the original distribution. It is common for site owners to modify their theme files, so if you have modified this file yourself you can safely ignore this warning. <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Learn More</a>", 'wordfence'), wfSupportController::esc_supportURL(wfSupportController::ITEM_SCAN_RESULT_MODIFIED_THEME)), 569 572 array( 570 573 'file' => $file, -
wordfence/tags/7.4.11/modules/login-security/wordfence-login-security.php
r2353220 r2370481 28 28 29 29 define('WORDFENCE_LS_VERSION', '1.0.5'); 30 define('WORDFENCE_LS_BUILD_NUMBER', '159 6638737');30 define('WORDFENCE_LS_BUILD_NUMBER', '1598542714'); 31 31 32 32 if (!defined('WORDFENCE_LS_EMAIL_VALIDITY_DURATION_MINUTES')) { define('WORDFENCE_LS_EMAIL_VALIDITY_DURATION_MINUTES', 15); } -
wordfence/tags/7.4.11/readme.txt
r2353222 r2370481 5 5 Requires PHP: 5.3 6 6 Tested up to: 5.5 7 Stable tag: 7.4.1 07 Stable tag: 7.4.11 8 8 9 9 Secure your website with the most comprehensive WordPress security plugin. Firewall, malware scan, blocking, live traffic, login security & more. … … 183 183 184 184 == Changelog == 185 186 = 7.4.11 - August 27, 2020 = 187 188 * Improvement: Added diagnostic debug button to clear Wordfence Central connection data from the database. 189 * Improvement: Added help documentation links to modified plugin/theme file scan results. 190 * Fix: Prevent file system scan from following symlinks to root. 191 * Fix: Cleared pending plugin/theme update scan results and notification when a plugin/theme is auto-updated. 192 * Fix: Added check for when site is disconnected on Central's end, but not in the plugin. 185 193 186 194 = 7.4.10 - August 5, 2020 = -
wordfence/tags/7.4.11/wordfence.php
r2353220 r2370481 5 5 Description: Wordfence Security - Anti-virus, Firewall and Malware Scan 6 6 Author: Wordfence 7 Version: 7.4.1 07 Version: 7.4.11 8 8 Author URI: http://www.wordfence.com/ 9 9 Network: true … … 16 16 exit; 17 17 } 18 define('WORDFENCE_VERSION', '7.4.1 0');19 define('WORDFENCE_BUILD_NUMBER', '159 6638737');18 define('WORDFENCE_VERSION', '7.4.11'); 19 define('WORDFENCE_BUILD_NUMBER', '1598542714'); 20 20 define('WORDFENCE_BASENAME', function_exists('plugin_basename') ? plugin_basename(__FILE__) : 21 21 basename(dirname(__FILE__)) . '/' . basename(__FILE__)); -
wordfence/trunk/lib/menu_tools_diagnostic.php
r2337484 r2370481 845 845 </span> 846 846 </li> 847 <li> 848 <span> 849 <?php _e('Clear all Wordfence Central connection data', 'wordfence'); ?> <a href="<?php echo wfSupportController::esc_supportURL(wfSupportController::ITEM_DIAGNOSTICS_REMOVE_CENTRAL_DATA); ?>" target="_blank" rel="noopener noreferrer" class="wfhelp wf-inline-help"></a> 850 <input class="wf-btn wf-btn-default wf-btn-sm" type="button" value="<?php esc_attr_e('Clear Connection Data', 'wordfence'); ?>" onclick="WFAD.ajax('wordfence_wfcentral_disconnect', {}, function() { WFAD.colorboxModal((self.isSmallScreen ? '300px' : '400px'), 'Successfully romved data', 'All associated Wordfence Central data has been removed from the database.'); });"/> 851 </span> 852 </li> 847 853 </ul> 848 854 -
wordfence/trunk/lib/wfCentralAPI.php
r2337484 r2370481 60 60 $http = _wp_http_get_object(); 61 61 $response = $http->request(WORDFENCE_CENTRAL_API_URL_SEC . $this->getEndpoint(), $args); 62 63 if (!is_wp_error($response)) { 64 $body = wp_remote_retrieve_body($response); 65 $statusCode = wp_remote_retrieve_response_code($response); 66 67 // Check if site has been disconnected on Central's end, but the plugin is still trying to connect. 68 if ($statusCode === 404 && strpos($body, 'Site has been disconnected') !== false) { 69 // Increment attempt count. 70 $centralDisconnectCount = get_site_transient('wordfenceCentralDisconnectCount'); 71 set_site_transient('wordfenceCentralDisconnectCount', ++$centralDisconnectCount, 86400); 72 73 // Once threshold is hit, disconnect Central. 74 if ($centralDisconnectCount > 3) { 75 wfRESTConfigController::disconnectConfig(); 76 } 77 } 78 } 79 62 80 return new wfCentralAPIResponse($response); 63 81 } -
wordfence/trunk/lib/wfSupportController.php
r2337484 r2370481 149 149 const ITEM_SCAN_RESULT_SKIPPED_PATHS = 'scan-result-skipped-paths'; 150 150 const ITEM_SCAN_RESULT_REPAIR_MODIFIED_FILES = 'scan-result-repair-modified-files'; 151 const ITEM_SCAN_RESULT_MODIFIED_PLUGIN = 'scan-result-modified-plugin'; 152 const ITEM_SCAN_RESULT_MODIFIED_THEME = 'scan-result-modified-theme'; 151 153 152 154 const ITEM_TOOLS_TWO_FACTOR = 'tools-two-factor'; … … 160 162 const ITEM_DIAGNOSTICS_TEST_EMAIL = 'diagnostics-test-email'; 161 163 const ITEM_DIAGNOSTICS_TEST_ACTIVITY_REPORT = 'diagnostics-test-activity-report'; 164 const ITEM_DIAGNOSTICS_REMOVE_CENTRAL_DATA = 'diagnostics-remove-central-data'; 162 165 const ITEM_DIAGNOSTICS_OPTION_DEBUGGING_MODE = 'diagnostics-option-debugging-mode'; 163 166 const ITEM_DIAGNOSTICS_OPTION_REMOTE_SCANS = 'diagnostics-option-remote-scans'; … … 327 330 case self::ITEM_SCAN_RESULT_SKIPPED_PATHS: 328 331 case self::ITEM_SCAN_RESULT_REPAIR_MODIFIED_FILES: 332 case self::ITEM_SCAN_RESULT_MODIFIED_PLUGIN: 333 case self::ITEM_SCAN_RESULT_MODIFIED_THEME: 329 334 330 335 case self::ITEM_TOOLS_TWO_FACTOR: … … 338 343 case self::ITEM_DIAGNOSTICS_TEST_EMAIL: 339 344 case self::ITEM_DIAGNOSTICS_TEST_ACTIVITY_REPORT: 345 case self::ITEM_DIAGNOSTICS_REMOVE_CENTRAL_DATA: 340 346 case self::ITEM_DIAGNOSTICS_OPTION_DEBUGGING_MODE: 341 347 case self::ITEM_DIAGNOSTICS_OPTION_REMOTE_SCANS: -
wordfence/trunk/lib/wordfenceClass.php
r2353220 r2370481 322 322 wfConfig::remove('lastPermissionsTemplateCheck'); 323 323 } 324 public static function _scheduleRefreshUpdateNotification($upgrader , $options) {324 public static function _scheduleRefreshUpdateNotification($upgrader = null, $options = null) { 325 325 $defer = false; 326 326 if (is_array($options) && isset($options['type']) && $options['type'] == 'core') { … … 1285 1285 add_action('upgrader_process_complete', 'wfUpdateCheck::syncAllVersionInfo'); 1286 1286 add_action('upgrader_process_complete', 'wordfence::_scheduleRefreshUpdateNotification', 99, 2); 1287 add_action('automatic_updates_complete', 'wordfence::_scheduleRefreshUpdateNotification', 99, 0); 1287 1288 add_action('wordfence_refreshUpdateNotification', 'wordfence::_refreshUpdateNotification', 99, 0); 1288 1289 add_action('wordfence_completeCoreUpdateNotification', 'wordfence::_completeCoreUpdateNotification', 99, 0); -
wordfence/trunk/lib/wordfenceHash.php
r2290265 r2370481 432 432 433 433 $realPath = realpath($path); 434 if ($realPath === '/') { 435 return false; 436 } 434 437 if (isset($this->foldersProcessed[$realPath])) { 435 438 return false; … … 526 529 'modifiedplugin' . $file . $md5, 527 530 'Modified plugin file: ' . $file, 528 "This file belongs to plugin \"$itemName\" version \"$itemVersion\" and has been modified from the file that is distributed by WordPress.org for this version. Please use the link to see how the file has changed. If you have modified this file yourself, you can safely ignore this warning. If you see a lot of changed files in a plugin that have been made by the author, then try uninstalling and reinstalling the plugin to force an upgrade. Doing this is a workaround for plugin authors who don't manage their code correctly. [See our FAQ on www.wordfence.com for more info]",531 sprintf(__("This file belongs to plugin \"$itemName\" version \"$itemVersion\" and has been modified from the file that is distributed by WordPress.org for this version. Please use the link to see how the file has changed. If you have modified this file yourself, you can safely ignore this warning. If you see a lot of changed files in a plugin that have been made by the author, then try uninstalling and reinstalling the plugin to force an upgrade. Doing this is a workaround for plugin authors who don't manage their code correctly. <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Learn More</a>", 'wordfence'), wfSupportController::esc_supportURL(wfSupportController::ITEM_SCAN_RESULT_MODIFIED_PLUGIN)), 529 532 array( 530 533 'file' => $file, … … 566 569 'modifiedtheme' . $file . $md5, 567 570 'Modified theme file: ' . $file, 568 "This file belongs to theme \"$itemName\" version \"$itemVersion\" and has been modified from the original distribution. It is common for site owners to modify their theme files, so if you have modified this file yourself you can safely ignore this warning.",571 sprintf(__("This file belongs to theme \"$itemName\" version \"$itemVersion\" and has been modified from the original distribution. It is common for site owners to modify their theme files, so if you have modified this file yourself you can safely ignore this warning. <a href=\"%s\" target=\"_blank\" rel=\"noopener noreferrer\">Learn More</a>", 'wordfence'), wfSupportController::esc_supportURL(wfSupportController::ITEM_SCAN_RESULT_MODIFIED_THEME)), 569 572 array( 570 573 'file' => $file, -
wordfence/trunk/modules/login-security/wordfence-login-security.php
r2353220 r2370481 28 28 29 29 define('WORDFENCE_LS_VERSION', '1.0.5'); 30 define('WORDFENCE_LS_BUILD_NUMBER', '159 6638737');30 define('WORDFENCE_LS_BUILD_NUMBER', '1598542714'); 31 31 32 32 if (!defined('WORDFENCE_LS_EMAIL_VALIDITY_DURATION_MINUTES')) { define('WORDFENCE_LS_EMAIL_VALIDITY_DURATION_MINUTES', 15); } -
wordfence/trunk/readme.txt
r2353222 r2370481 183 183 184 184 == Changelog == 185 186 = 7.4.11 - August 27, 2020 = 187 188 * Improvement: Added diagnostic debug button to clear Wordfence Central connection data from the database. 189 * Improvement: Added help documentation links to modified plugin/theme file scan results. 190 * Fix: Prevent file system scan from following symlinks to root. 191 * Fix: Cleared pending plugin/theme update scan results and notification when a plugin/theme is auto-updated. 192 * Fix: Added check for when site is disconnected on Central's end, but not in the plugin. 185 193 186 194 = 7.4.10 - August 5, 2020 = -
wordfence/trunk/wordfence.php
r2353220 r2370481 5 5 Description: Wordfence Security - Anti-virus, Firewall and Malware Scan 6 6 Author: Wordfence 7 Version: 7.4.1 07 Version: 7.4.11 8 8 Author URI: http://www.wordfence.com/ 9 9 Network: true … … 16 16 exit; 17 17 } 18 define('WORDFENCE_VERSION', '7.4.1 0');19 define('WORDFENCE_BUILD_NUMBER', '159 6638737');18 define('WORDFENCE_VERSION', '7.4.11'); 19 define('WORDFENCE_BUILD_NUMBER', '1598542714'); 20 20 define('WORDFENCE_BASENAME', function_exists('plugin_basename') ? plugin_basename(__FILE__) : 21 21 basename(dirname(__FILE__)) . '/' . basename(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.