Disables external data calls and loading for working on a purely local (i.e. no internet connection) WordPress site
PHP CSS
Permalink
Failed to load latest commit information.
inc Adding option to force transient purge and related CLI command. fixes #… Mar 5, 2017
languages multiple changes (see changelog file). fixes #62 fixes #65 Dec 7, 2015
lib updating CSS for upcoming changes in 4.6 fixes #79 Jul 12, 2016
.gitattributes added .gitattributes to remove non-essential files May 18, 2015
.gitignore
CHANGES.md Adding option to force transient purge and related CLI command. fixes #… Mar 5, 2017
LICENSE Initial commit Jun 9, 2014
README.md adding notes about offline activation script. fixes #85 props @solepixel Mar 5, 2017
airplane-mode.php Handle locally installed languages which aren't in Airplane Mode's of… Mar 21, 2017
composer.json
readme.txt Adding option to force transient purge and related CLI command. fixes #… Mar 5, 2017

README.md

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.