/airplane-mode

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

Primary LanguagePHPMIT LicenseMIT

Airplane Mode

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.