Changeset 3442694
- Timestamp:
- 01/19/2026 05:17:04 PM (2 months ago)
- Location:
- folder-auditor
- Files:
-
- 81 added
- 3 edited
-
tags/5.4 (added)
-
tags/5.4/assets (added)
-
tags/5.4/assets/admin.js (added)
-
tags/5.4/assets/brand-banner.webp (added)
-
tags/5.4/assets/dark-icon.png (added)
-
tags/5.4/assets/email.jpg (added)
-
tags/5.4/assets/icon.png (added)
-
tags/5.4/assets/magic.webp (added)
-
tags/5.4/assets/style.css (added)
-
tags/5.4/folder-auditor.php (added)
-
tags/5.4/includes (added)
-
tags/5.4/includes/bridge (added)
-
tags/5.4/includes/bridge/status.php (added)
-
tags/5.4/includes/bridge/unlock-relock.php (added)
-
tags/5.4/includes/class-wp-folder-auditor.php (added)
-
tags/5.4/includes/handlers (added)
-
tags/5.4/includes/handlers/handler-actions.php (added)
-
tags/5.4/includes/handlers/handler-blacklist-checker.php (added)
-
tags/5.4/includes/handlers/handler-content.php (added)
-
tags/5.4/includes/handlers/handler-htaccess.php (added)
-
tags/5.4/includes/handlers/handler-plugin-refresher.php (added)
-
tags/5.4/includes/handlers/handler-plugins.php (added)
-
tags/5.4/includes/handlers/handler-root.php (added)
-
tags/5.4/includes/handlers/handler-scanner.php (added)
-
tags/5.4/includes/handlers/handler-settings.php (added)
-
tags/5.4/includes/handlers/handler-themes.php (added)
-
tags/5.4/includes/handlers/handler-uploads.php (added)
-
tags/5.4/includes/helpers (added)
-
tags/5.4/includes/helpers/admin.php (added)
-
tags/5.4/includes/helpers/health-score (added)
-
tags/5.4/includes/helpers/health-score/health-score-display.php (added)
-
tags/5.4/includes/helpers/health-score/health-score-functions.php (added)
-
tags/5.4/includes/helpers/html-export.php (added)
-
tags/5.4/includes/helpers/lock-system (added)
-
tags/5.4/includes/helpers/lock-system/folder-locker.php (added)
-
tags/5.4/includes/helpers/lock-system/traits (added)
-
tags/5.4/includes/helpers/lock-system/traits/WPFA_Folder_Locker_Trait_Actions.php (added)
-
tags/5.4/includes/helpers/lock-system/traits/WPFA_Folder_Locker_Trait_Assets.php (added)
-
tags/5.4/includes/helpers/lock-system/traits/WPFA_Folder_Locker_Trait_Cache.php (added)
-
tags/5.4/includes/helpers/lock-system/traits/WPFA_Folder_Locker_Trait_FS.php (added)
-
tags/5.4/includes/helpers/lock-system/traits/WPFA_Folder_Locker_Trait_FSModal.php (added)
-
tags/5.4/includes/helpers/lock-system/traits/WPFA_Folder_Locker_Trait_NoticesBar.php (added)
-
tags/5.4/includes/helpers/lock-system/traits/WPFA_Folder_Locker_Trait_Request.php (added)
-
tags/5.4/includes/helpers/lock-system/traits/WPFA_Folder_Locker_Trait_Status.php (added)
-
tags/5.4/includes/helpers/lock-system/traits/WPFA_Folder_Locker_Trait_Targets.php (added)
-
tags/5.4/includes/helpers/reports (added)
-
tags/5.4/includes/helpers/reports/Guard-Dog-Security-Report.html (added)
-
tags/5.4/includes/helpers/reports/index.html (added)
-
tags/5.4/includes/helpers/safe-paths.php (added)
-
tags/5.4/includes/helpers/scanner (added)
-
tags/5.4/includes/helpers/scanner/patterns.php (added)
-
tags/5.4/includes/helpers/scanner/scanner.php (added)
-
tags/5.4/includes/helpers/security-headers.php (added)
-
tags/5.4/includes/helpers/user-security.php (added)
-
tags/5.4/includes/summaries (added)
-
tags/5.4/includes/summaries/summary-content.php (added)
-
tags/5.4/includes/summaries/summary-htaccess.php (added)
-
tags/5.4/includes/summaries/summary-plugins.php (added)
-
tags/5.4/includes/summaries/summary-root.php (added)
-
tags/5.4/includes/summaries/summary-themes.php (added)
-
tags/5.4/includes/summaries/summary-totals.php (added)
-
tags/5.4/includes/summaries/summary-uploads.php (added)
-
tags/5.4/includes/views (added)
-
tags/5.4/includes/views/view-audit.php (added)
-
tags/5.4/includes/views/view-blacklist-checker.php (added)
-
tags/5.4/includes/views/view-content.php (added)
-
tags/5.4/includes/views/view-dashboard.php (added)
-
tags/5.4/includes/views/view-file-remover.php (added)
-
tags/5.4/includes/views/view-header.php (added)
-
tags/5.4/includes/views/view-htaccess-files.php (added)
-
tags/5.4/includes/views/view-html-export.php (added)
-
tags/5.4/includes/views/view-plugin-refresher.php (added)
-
tags/5.4/includes/views/view-plugins.php (added)
-
tags/5.4/includes/views/view-root.php (added)
-
tags/5.4/includes/views/view-scanner.php (added)
-
tags/5.4/includes/views/view-security.php (added)
-
tags/5.4/includes/views/view-settings.php (added)
-
tags/5.4/includes/views/view-themes.php (added)
-
tags/5.4/includes/views/view-tools.php (added)
-
tags/5.4/includes/views/view-uploads.php (added)
-
tags/5.4/readme.txt (added)
-
trunk/folder-auditor.php (modified) (1 diff)
-
trunk/includes/bridge/status.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
folder-auditor/trunk/folder-auditor.php
r3441987 r3442694 3 3 * Plugin Name: Guard Dog Security & Site Lock 4 4 * Description: Helps WordPress administrators take full control of their site. It scans critical areas including the root directory, wp-content, plugins, themes, uploads, and .htaccess files to detect anything suspicious such as orphaned folders, leftover files, or hidden PHP in uploads. From the WordPress dashboard, you can safely review, download, or remove items that don’t belong, with built-in protection to ensure required resources remain untouched. In addition, Guard Dog Security lets you lock all files and folders as read-only, preventing unauthorized changes, additions, or deletions to your WordPress installation. 5 * Version: 5. 35 * Version: 5.4 6 6 * Author: WP Fix It 7 7 * Author URI: https://www.wpfixit.com -
folder-auditor/trunk/includes/bridge/status.php
r3441624 r3442694 66 66 $cachedAt = get_option('wpfa_cached_state_last_built'); 67 67 68 // Best-effort plugin version read (doesn't require the plugin to be "loaded" beyond this file)69 68 $version = null; 70 69 if ( function_exists('get_plugin_data') ) { … … 76 75 } 77 76 78 return [ 79 'bridge' => 1, 80 'plugin_slug' => 'folder-auditor/folder-auditor.php', 81 'version' => $version, 82 'locker_loaded'=> $lockerLoaded ? 1 : 0, 83 'locked' => $locked, // null if locker not loaded 84 'cached' => $cachedAt ?: null, 77 $payload = [ 78 'bridge' => 1, 79 'plugin_slug' => 'folder-auditor/folder-auditor.php', 80 'version' => $version, 81 'locker_loaded' => $lockerLoaded ? 1 : 0, 82 'locked' => $locked, 83 'cached' => $cachedAt ?: null, 84 'ts' => time(), // optional: helps you visually confirm freshness 85 85 ]; 86 87 $res = new WP_REST_Response( $payload, 200 ); 88 89 // Strong anti-cache headers for browsers + CDNs 90 $res->set_headers([ 91 'Cache-Control' => 'no-store, no-cache, must-revalidate, max-age=0', 92 'Pragma' => 'no-cache', 93 'Expires' => 'Wed, 11 Jan 1984 05:00:00 GMT', 94 'CDN-Cache-Control' => 'no-store', 95 'Surrogate-Control' => 'no-store', 96 'Vary' => 'Accept-Encoding', 97 ]); 98 99 return $res; 86 100 } 87 101 } -
folder-auditor/trunk/readme.txt
r3441987 r3442694 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 5. 38 Stable tag: 5.4 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 97 97 == Changelog == 98 98 99 = 5.4 = 100 * Improved API rest point call for cache bypass 101 99 102 = 5.3 = 100 103 * Fixed permissions issue with Site Lock and MainWP … … 241 244 == Upgrade Notice == 242 245 246 = 5.4 = 247 * Improved API rest point call for cache bypass 248 243 249 = 5.3 = 244 250 * Fixed permissions issue with Site Lock and MainWP
Note: See TracChangeset
for help on using the changeset viewer.