| 开发者 | fazlebari |
|---|---|
| 更新时间 | 2026年12月3日 21:27 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp-admin or clash with existing caching layers. With FBS Secure Optimize, every engine has its own 1-Click Master Toggle in the Module Control Center:
background-image: url(...) hero sections from page builders and themes—and injects early <link rel="preload" as="image" fetchpriority="high"> in <head>, while stripping misplaced fetchpriority="high" from offscreen loading="lazy" images.0.70+ CLS) caused by JS-stretched full-bleed rows (SiteOrigin Page Builder, WPBakery) and un-sized inline <svg viewBox="..."> icons.width & height Injection (Full-Page): Automatically detects local raster and .svg <img> tags across headers, content, widgets, and footers missing explicit dimensions and injects cached width and height attributes.@import Google Fonts: Extracts render-blocking @import Google Fonts hidden inside theme style.css files into parallel non-blocking preconnect + async swap links and serves a cached de-blocked stylesheet.@font-face Swap & Icon Stylesheets: Converts render-blocking Google Fonts, Font Awesome, Elementor Icons, Ionicons, Line Awesome, and Magnific Popup stylesheets to asynchronous media="print" swap with <noscript> fallback, and automatically upgrades text @font-face rules and Google Fonts URLs from font-display: auto/block (FOIT) to font-display: swap.<= 16 KB) & Strip 0-Byte CSS: Inlines small render-blocking CSS files into <head> while rewriting relative url(...) paths and removing empty 0-byte plugin stylesheets.X-FBS-Cache: HIT) for logged-out visitors with marketing UTM/GCLID cache-hit support, automatic post/comment/menu invalidation, and automatic bypass when LiteSpeed Cache, WP Rocket, W3 Total Cache, SiteGround, WP Fastest Cache, or 20i StackCache is active.defer to frontend scripts while automatically protecting jQuery, WooCommerce checkout flows, and scripts with synchronous inline dependencies.<head> discovery tags, and throttle Heartbeat API to 60 seconds.
2. Database & Autoload Cleaner
Keep MySQL lean for sub-200ms Server Time to First Byte (TTFB):
> 7 days), spam and trashed comments, expired transients, and orphaned postmeta rows.
OPTIMIZE TABLE across core tables manually or automatically via daily, weekly, or monthly WP-Cron schedules.wp_options size (in KB) alongside your Top 5 Heaviest Autoloaded Options so hidden database bottlenecks never go unnoticed.
3. HTTP Security Headers
Achieve a hardened browser security posture without breaking stylesheets, fonts, or payment gateways:
X-Content-Type-Options: nosniff (MIME-sniffing defense)
X-Frame-Options: SAMEORIGIN (clickjacking protection)Referrer-Policy: strict-origin-when-cross-originPermissions-Policy (restricts unauthorized camera, microphone, geolocation, and USB access)Strict-Transport-Security (HSTS) for HTTPS sites?ver=)
4. Unified Login Brute-Force Shield
Stop automated credential-stuffing and brute-force bots before they exhaust PHP workers:
wp-content/uploads/ PHP Execution Shield: Generates hardened .htaccess rules blocking direct execution of backdoor .php, .phtml, and .phar shells uploaded into media folders.
X-Pingback: Eliminates amplified system.multicall brute-force and pingback DDoS vectors.?author=1 archive scans and restricts unauthenticated REST API /wp/v2/users enumeration.wp-admin via capability mapping (map_meta_cap)..php drop-ins sitting in your site root (ABSPATH) while content-verifying legitimate WAF bootstraps (wordfence-waf.php, aios-bootstrap.php, malcare-waf.php).
downloads.wordpress.org/plugin-checksums/), and official themes (themes.svn.wordpress.org) against cryptographic hashes—eliminating false positives on vendor files (such as Elementor's bundled Twig test suites) while flagging any tampered file.uploads/ Shell Scan: Detects disguised PHP webshells inside wp-content/uploads/.mu-plugins Persistence Audit: Inspects Must-Use plugins where stealth malware hides from the standard Plugins screen.wp_snippets / ms_snippets (Code Snippets — bypassing self-hiding admin_footer CSS/JS rootkits), Header Footer Code Manager (hfcm_scripts), XYZ PHP Code, Elementor Custom Code (elementor_snippet), WPCode, Woody Snippets, injected post/page content, header/footer wp_options, and scheduled cron persistence hooks—plus lists a complete Active Database Code Snippets Inventory for 100% visibility.Reflection across pre_user_query, views_users, users_list_table_query_args, load-user-edit.php, load-users.php, and delete_user to pinpoint exact file:line or eval()'d code database hooks; cross-checks raw SQL usermeta capabilities against get_users() / WP_User_Query (catching hidden admins, empty/invalid emails, and default backdoor logins); and audits active REST API Application Passwords with 1-click revocation.left: -9999px, font-size: 0) and conditional search-engine cloaking.$wpdb, force-delete tamper-protected rogue admin users directly in MySQL (reassigning authored posts safely), revoke Application Passwords, and purge all caches while invalidating other user sessions in one click.0 (includes safe Learning Mode).HTTP 429 Too Many Requests) to prevent scraper floods from triggering 502 Bad Gateway crashes.Content-Security-Policy directives in Report-Only mode before enforcing Grade A+ headers, plus automated daily scan email alerts.wp-admin (or enables scheduled scans in Pro), the plugin connects to official public WordPress.org APIs solely to verify cryptographic file integrity:
https://api.wordpress.org/core/checksums/1.0/): Fetches official MD5 hashes for your installed WordPress version.https://downloads.wordpress.org/plugin-checksums/): Fetches official MD5/SHA-256 hashes when a plugin file matches a heuristic rule so unmodified vendor libraries are verified clean without false positives.https://api.wordpress.org/themes/info/1.2/ and https://themes.svn.wordpress.org/): Verifies critical active/parent theme templates (functions.php, header.php, footer.php) when hosted on WordPress.org.fbs-secure-optimize folder to /wp-content/plugins/).wp-content/uploads/ to block PHP execution in media directories.No. Every engine is controlled by an Independent Module Toggle in the Module Control Center. If another plugin already handles script deferring or lazy loading, simply toggle Asset & Bloat Optimizer off—disabled modules are bypassed at boot and register zero frontend hooks, while you continue enjoying Database Cleanup, Autoload Inspection, Security Headers, Login Protection, Core Hardening, and the 6-Layer Malware Scanner.
Yes. Turning any module off in Module Control Center immediately hides its configuration panel (and hides the corresponding top navigation tab if all modules in that group are disabled) while safely preserving your saved preferences in case you re-enable it later.
Yes. Unlike aggressive lazy-loaders that delay your top hero banner and hurt Largest Contentful Paint (LCP), FBS Secure Optimize automatically skips lazy-loading on the first image in your content and adds fetchpriority="high". Likewise, JavaScript deferring automatically excludes jQuery core and sensitive cart/checkout pages.
No. The free HTTP Security Headers module ships with safe, standards-compliant defaults (X-Content-Type-Options: nosniff, X-Frame-Options: SAMEORIGIN, Referrer-Policy, and Permissions-Policy) that never block third-party CSS, fonts, or payment scripts. Every header is individually toggleable.
Sophisticated malware often creates a backdoor administrator account and hooks pre_user_query or users_list_table_query_args so the rogue account is completely invisible on your Users → All Users screen. Layer 6 of our scanner cross-checks standard user queries against raw usermeta capability rows in MySQL to expose any hidden or stealth-elevated administrator immediately.
Never automatically. In the Free edition, the 6-Layer Scanner performs a 100% safe, read-only forensic audit and lets you inspect suspicious code inside the Safe File Snippet Preview modal so core or custom files are never accidentally deleted. One-click deletion and auto-disarming are optional tools available in Pro.
Whenever you edit theme CSS, upload new images, or change optimization toggles, click Purge Cache in the WordPress Top Admin Bar (frontend or backend) or inside the FBS Secure Optimize header. It immediately invalidates cached inline CSS and image CLS dimension maps, flushes WordPress Object Cache (Redis/Memcached) and PHP OPcache, and triggers cache-clear hooks for LiteSpeed Cache, WP Rocket, Autoptimize, W3 Total Cache, WP Super Cache, WP Fastest Cache, SiteGround, Breeze, and WP Engine. Caches also auto-purge when you switch themes, save Customizer changes, or update plugins/themes.
Uninstalling the plugin through the Plugins screen cleanly removes its saved options, clears scheduled cleanup cron hooks, and drops its custom fbsseop_login_attempts database table—leaving zero orphaned clutter behind.
fbsfusion.com/docs/fbs-secure-optimize/).wp_ajax_fbsseop_save_settings) with inline button confirmation and automatic admin-post.php fallback on the Speed & Database and Headers & Hardening tabs so settings always save reliably even when host firewalls or third-party plugins intercept admin-post.php redirects.type="url" to type="text" (validated server-side via esc_url_raw()) and suppressed false-positive delete_user hook reflection advisories on legitimate commercial management plugins (WPMU DEV Dashboard).woocommerce/cart), Block Checkout (woocommerce/checkout), and Mini-Cart pages when Defer Non-Critical JavaScript is enabled by adding recursive WP_Scripts dependency graph protection (is_script_handle_safe_to_defer()), protecting @wordpress/* (wp-*) and WooCommerce (wc-*) runtime packages, and enforcing automatic transactional page bypass.Arbitrary File Write / Remote Code Fetch heuristic in the Deep Malware & Theme Template Scanner so legitimate custom child-theme CSS/JSON caching functions using file_put_contents() no longer trigger false positives while real .php/.phtml/.phar/.htaccess and superglobal file-dropper payloads remain 100% detected.wp_snippets & ms_snippets (Code Snippets plugin, bypassing self-hiding admin_footer CSS/JS rootkits), Header Footer Code Manager (hfcm_scripts), XYZ PHP Code, Elementor Custom Code (elementor_snippet), WPCode, Woody Snippets, injected post/page content, header/footer wp_options, and scheduled WP-Cron persistence hooks, plus displays a full Active Database Code Snippets Inventory for 100% visibility.pre_user_query, views_users, users_list_table_query_args, load-user-edit.php, load-users.php, and delete_user (flagging eval()'d code / database hooks as CRITICAL), detects rogue admins with empty/invalid emails or default backdoor usernames, and audits active REST API _application_passwords with 1-click revocation.left: -9999px, font-size: 0) and conditional search-engine cloaking.wp-content/plugins/ against official downloads.wordpress.org/plugin-checksums/ MD5/SHA-256 hashes (eliminating vendor false positives such as Elementor's Twig IntegrationTestCase.php) and audits active/parent theme critical templates (functions.php, header.php, footer.php).$wpdb, force-delete tamper-protected rogue admin users directly in MySQL (reassigning authored posts and destroying sessions), revoke Application Passwords, and purge all caches while invalidating all other user sessions in 1 click.post-*.css) hero background-image auto-preloading with :not(...) pseudo-class selector resolution and transient caching, upgraded inline custom @font-face rules and display=auto/block Google Fonts URLs to font-display: swap to prevent Slow-4G FOIT text LCP delays, unlocked smart jQuery deferring when WordPress Core outputs jQuery.uiBackCompat, raised the small-CSS auto-inline threshold to 16 KB, added 20i StackCache auto-bypass, and removed opcache_reset() from cache purges to prevent 429 Too Many Requests worker locks on 20i/StackCP and shared hosts.wp-admin/admin-post.php when saving settings immediately after a plugin update on LiteSpeed LSAPI / PHP-FPM servers by skipping unnecessary opcache_reset() calls during settings saves and deferring manual-purge OPcache resets until after HTTP response/redirect completion (register_shutdown_function).disable_wp_emojis() strictly to the frontend (! is_admin()) and replaced raw Unicode emojis on Pro feature cards with crisp Dashicons badges so broken Twemoji <img> icons never appear inside wp-admin.<img> banners and page-builder CSS background-image heroes, injects <link rel="preload" as="image" fetchpriority="high"> after <meta name="viewport">, skips header logos/SVGs, and demotes offscreen loading="lazy" images to fetchpriority="low", plus optional manual URL override).--fbs-cw geometry immediately after <body ...> to eliminate 0.70+ layout shifts from JS-stretched full-bleed rows in SiteOrigin Page Builder & WPBakery before First Paint, and injects intrinsic viewBox dimensions on un-sized inline <svg> icons).@import Google Fonts (extracts blocking @import Google Fonts inside theme style.css files into non-blocking preconnect + swap links and serves a cached de-blocked stylesheet).media="print" swap).wp-polyfill/wp-i18n/wp-hooks dependencies, Smash Balloon Instagram Feed, Slick/Carousel, WPForms, TablePress, and unused block social-links CSS on pages where absent).jQuery Deferring & Upgraded Third-Party JS Delay (captures both external <script src> and inline GTM/Clarity/Meta/Hotjar bootstrap snippets plus invisible reCAPTCHA v3, and auto-defers jquery-core/jquery-migrate when zero synchronous inline scripts reference jQuery/$).X-FBS-Cache: HIT) with marketing parameter (utm_*, gclid, fbclid) cache-hit support, automatic content invalidation, and 1-Click "Apply Max PageSpeed Preset" button.CRITICAL scanner alerts on content-verified legitimate root WAF bootstrap files (wordfence-waf.php, aios-bootstrap.php, malcare-waf.php) and compiled Timber/Twig (wp-content/uploads/timber-cache/) or Blade template cache files while still catching tampered or spoofed webshells.0-byte local plugin stylesheets and protected wp_add_inline_script(..., 'after') handles during JS deferring.OS Command Execution (shell_exec/system) alerts in the 6-Layer Malware Scanner on legitimate Composer vendor libraries (such as Monolog\Handler\ProcessHandler used by FluentSMTP / Google API Client, Symfony\Component\Process, and Composer\Util\ProcessExecutor) while preserving full detection if those files are tampered with or contain superglobal input ($_GET, $_POST, $_REQUEST, $_COOKIE).fbsseop_scanner_is_safe_match filter for custom scanner false-positive exclusions.display=swap, and adds automatic preconnect resource hints).<= 8 KB) with automatic relative url(...) path rewriting and salt-versioned transient caching.width & height auto-injection for local content, thumbnail, and widget images, plus stronger LCP hero image protection (strips theme-injected loading="lazy" on image #1).gtag.js, gtm.js, Meta Pixel, Clarity, Hotjar, LinkedIn, TikTok) until first user interaction or 3.5s fallback, automatically bypassing WooCommerce cart/checkout/account pages.wp-admin) and plugin Hero Header—flushes FBS Asset/CLS caches, WP Object Cache, PHP OPcache, and compatible host/page caches, plus automatic invalidation on theme/plugin updates.pre_user_query) Scanner with safe code snippet preview modal.wp-content/uploads/.htaccess PHP Execution Shield, XML-RPC blocker, author/REST user enumeration defense, file editor lock, and High-Risk Plugin detector.wp_options Autoload Bloat Inspector displaying total autoloaded KB and Top 5 heaviest autoload rows.fetchpriority="high" on first hero image), iframe lazy loading, Emoji/Dashicons bloat removal, and 60s Heartbeat API throttling.