Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norcross/airplane-mode
Disables external data calls and loading for working on a purely local (i.e. no internet connection) WordPress site
https://github.com/norcross/airplane-mode
airplane-mode offline-mode wordpress wp-cli
Last synced: 7 days ago
JSON representation
Disables external data calls and loading for working on a purely local (i.e. no internet connection) WordPress site
- Host: GitHub
- URL: https://github.com/norcross/airplane-mode
- Owner: norcross
- License: mit
- Created: 2014-06-09T16:02:20.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T14:34:15.000Z (20 days ago)
- Last Synced: 2024-12-08T09:00:27.070Z (14 days ago)
- Topics: airplane-mode, offline-mode, wordpress, wp-cli
- Language: PHP
- Homepage:
- Size: 272 KB
- Stars: 469
- Watchers: 27
- Forks: 66
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
Airplane Mode
========================## Contributors
* [Andrew Norcross](https://github.com/norcross)
* [John Blackbourn](https://github.com/johnbillion)
* [Andy Fragen](https://github.com/afragen)
* [Viktor Szépe](https://github.com/szepeviktor)
* [Chris Christoff](https://github.com/chriscct7)
* [Mark Jaquith](https://github.com/markjaquith)## 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](CHANGES.md).
## Notes
If you need offline activation, see [this script](https://gist.github.com/solepixel/e1d03f4dcd1b9e86552b3cc6937325bf) written by [Brian DiChiara](https://github.com/solepixel)## Roadmap
* fine tune HTTP request removal
* find other calls from core
* add other requests from popular plugins#### [Pull requests](https://github.com/norcross/airplane-mode/pulls) are very much welcome and encouraged.