LocalFonts

Changelog

2.0.1

  • Fixed: Fatal error on activation caused by broken regex escape sequences in the output-buffer rewriter.
  • Fixed: “503 Service Unavailable” errors on large pages caused by unguarded full-page output buffering.
  • Changed: Consolidated output buffering into a single hardened class (LGFL_Output_Buffer) with try/finally cleanup, a 5 MB length cap, buffer-conflict detection, and a string-level short-circuit so pages with no Google Fonts skip regex entirely.
  • Changed: Font file cleanup moved from deactivation to uninstall, per WordPress.org guidelines.
  • Changed: Constants now declared with if ( ! defined() ) guards to prevent redefinition warnings.
  • Changed: Admin settings page slimmed down to system status and action buttons.
  • Added: == External services == disclosure section per WordPress.org guidelines.
  • Added: Inline phpcs:ignore comments documenting the read-only $_GET reads and the single raw-echo of already-rendered page HTML.

2.0

  • Added output buffering to catch hardcoded <link> tags, @import rules, and inline styles
  • Added support for Google Material Icons (/icon endpoint)
  • Added dns-prefetch and preconnect removal for complete disconnection from external font servers
  • Added HTML entity decoding for URLs with &amp;
  • Added support for @import without url() wrapper
  • Improved activity logging

1.0

  • Initial release
  • Automatic font interception via style_loader_src filter
  • Manual download button
  • Admin settings page with system status

Plugin Website
Visit website

Author
Browse.FYI
Version:
2.0.1
Last Updated
April 15, 2026
Requires
WordPress 5.0
Tested Up To
WordPress 6.9.4
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.