norcross/airplane-mode

Disables external data calls and loading for working on a purely local (i.e. no internet connection) WordPress site

Installs: 6 571

Dependents: 1

Suggesters: 0

Security: 0

Stars: 462

Watchers: 28

Forks: 65

Open Issues: 2

Type:wordpress-plugin

0.2.6 2022-10-13 19:49 UTC

README

Contributors

About

Control loading of external files when developing locally. WP loads certain external files (fonts, Gravatar, etc.) and makes external HTTP calls. This isn't usually an issue, unless you're working in an evironment without a web connection. This plugin removes/unhooks those actions to reduce load time and avoid errors due to missing files.

Current Actions

  • removes external JS and CSS files from loading
  • replaces all instances of Gravatar with a local image to remove external call
  • removes all HTTP requests
  • disables all WP update checks for core, languages, themes, and plugins
  • includes toggle in admin bar for quick enable / disable

Changelog

See CHANGES.md.

Notes

If you need offline activation, see this script written by Brian DiChiara

Roadmap

  • fine tune HTTP request removal
  • find other calls from core
  • add other requests from popular plugins

Pull requests are very much welcome and encouraged.