/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

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

  • sets the src for Open Sans CSS font file to null due to dependency issues ( see related Trac ticket )
  • replaces all instances of Gravatar with a local image to remove external call
  • removes all HTTP requests
  • includes toggle in admin bar for quick enable / disable

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