Title: Airplane Mode
Author: Andrew Norcross
Published: <strong>2019 年 8 月 9 日</strong>
Last modified: 2019 年 11 月 15 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/airplane-mode.svg)

# Airplane Mode

 由 [Andrew Norcross](https://profiles.wordpress.org/norcross/) 開發

[下載](https://downloads.wordpress.org/plugin/airplane-mode.0.2.5.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/airplane-mode/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/airplane-mode/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/airplane-mode/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/airplane-mode/#developers)

 [技術支援](https://wordpress.org/support/plugin/airplane-mode/)

## 外掛說明

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.

Features

 * 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, themes, and plugins
 * includes toggle in admin bar for quick enable / disable

## 安裝方式

This section describes how to install the plugin and get it working.

 1. Upload `airplane-mode` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Toggle users as needed

If you need offline activation, see [this script](https://gist.github.com/solepixel/e1d03f4dcd1b9e86552b3cc6937325bf)
written by [Brian DiChiara](https://github.com/solepixel)

## 常見問題集

  Why do I need this?

Because you are a jet set developer who needs to work without internet.

## 使用者評論

![](https://secure.gravatar.com/avatar/1d442bc94c6f4198991d0886f34c9d6482710d5a15ad5e358ef802e2a41818be?
s=60&d=retro&r=g)

### 󠀁[Must have plugin for local development](https://wordpress.org/support/topic/must-have-plugin-for-local-development/)󠁿

 [Slava Abakumov](https://profiles.wordpress.org/slaffik/) 2019 年 9 月 4 日

That's one of the plugins that I install on every local website that I develop using
WordPress. It's a mush have if you work outside of a stable internet connection (
or completely offline).

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/airplane-mode/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Airplane Mode〉的開發相關工作。

參與者

 *   [ Andrew Norcross ](https://profiles.wordpress.org/norcross/)
 *   [ John Blackbourn ](https://profiles.wordpress.org/johnbillion/)
 *   [ Andy Fragen ](https://profiles.wordpress.org/afragen/)
 *   [ Viktor Szépe ](https://profiles.wordpress.org/szepeviktor/)
 *   [ chriscct7 ](https://profiles.wordpress.org/chriscct7/)
 *   [ Mark Jaquith ](https://profiles.wordpress.org/markjaquith/)

〈Airplane Mode〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/airplane-mode/contributors)
為這個外掛做出的貢獻。

[將〈Airplane Mode〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/airplane-mode)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/airplane-mode/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/airplane-mode/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/airplane-mode/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/airplane-mode/)。

## 變更記錄

= 0.2.5 – 2019/11/15
 * Remove usage of method that’s been deprecated in WordPress
trunk. props @johnbillion

= 0.2.4 – 2017/12/13
 * Added localhost bypass for loading CSS and JS files when
hot reloading. props @shadyvb * Added additional hook removals for new automated
updates and language packs. * Removed outdated `create_function` call for PHP 7.2
compatibility. props @geminorum * General cleanup

= 0.2.3 – 2017/03/05
 * Adding option to force transient purge * Adding `clean` 
action to WP-CLI functions

= 0.2.2 – 2016/12/07
 * Adding WP-CLI support. props @markjaquith

= 0.2.1 – 2016/10/19
 * Fix settings page language drowdown when used offline. props@
onnimonni

= 0.2.0 – 2016/08/26
 * modify CSS loading for front-end, removed loading for login
page. props @barryceelen * fixed WP.org theme API call request to avoid `WP_Error`
return. props @onnimonni

= 0.1.9 – 2016/07/25
 * Prevent BuddyPress from falling back to Gravatar. props @
johnbillion

= 0.1.8 – 2016/07/12
 * allow `JETPACK_DEV_DEBUG` constant to take priority over
filter. props @kopepasah * added additional CSS for upcoming 4.6. change to upload
tab.

= 0.1.7 – 2016/05/18
 * allow local HTTP calls with optional filter. props @johnbillion*
add back index.php link to main dashboard menu item * bumped minimum WP version 
requirement to 4.4

= 0.1.6 – 2016/04/25
 * minor tweak to include CSS for new icon font

= 0.1.5 – 2016/04/24
 * adding custom icon font for display and removing label. 
props @barryceelen

= 0.1.4 – 2016/02/26
 * better setup for blocked external assets. props @johnbillion

= 0.1.3 – 2016/02/22
 * modified CSS rules to fix media bulk actions bar from disappearing*
moved `airplane_mode_status_change` action to run before redirect, and now includes
the status being run.

= 0.1.2 – 2016/01/09
 * added back HTTP count when inactive * removed HTTP count
completely when Query Monitor is active

= 0.1.1 – 2016/01/06
 * fixed incorrect nonce check that was breaking toggle * changed
CSS and JS checks to include all themes and plugins as well as core

= 0.1.0 – 2015/12/30
 * added `airplane_mode_purge_transients` filter to bypass 
transient purge

= 0.0.9 – 2015/12/07
 * changed from colored circle to actual airplane icon for 
usability * fixed dashboard link icon for multisite * changed to exclude all external
stylesheets, not just Open Sans * added language files for translateable goodness*
general cleanup for WP coding standards

= 0.0.8 – 2015/05/18
 * added `class_exists` as now included in DesktopServer and
collisions could result * fixed `if ( ! defined ...` for `AIRMDE_BASE` constant

#### 0.0.7 – 2015/04/21

 * fixed some CSS from hiding plugins page bar
 * moved changelog to it’s own file
 * added `composer.json`
 * added contributors to readme
 * clarified license (MIT)

#### 0.0.6 – 2015/04/02

 * version bump for GitHub updater

#### 0.0.5 – 2015/04/02

 * fixed bug in update logic that was preventing checks when disabled (but activated).
   props @johnbillion

#### 0.0.4 – 2015/04/02

 * added multiple checks for all the various theme and plugin update calls. props@
   chriscct7
 * added HTTP counter on a per-page basis. props @szepeviktor

#### 0.0.3 – 2015/01/23

 * added `airplane_mode_status_change` hook for functions to fire on status change
 * purge update related transients on disable
 * added WordPress formatted readme file

#### 0.0.2 – 2015/01/21

 * added GitHub Updater support
 * fixed update capabilities when status is disabled

#### 0.0.1 – 2014/06/01

 * lots of stuff. I wasn’t keeping a changelog. I apologize.

## 中繼資料

 *  版本 **0.2.5**
 *  最後更新 **7 年前**
 *  啟用安裝數 **50+**
 *  WordPress 版本需求 ** 4.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.3.25**
 *  語言
 * [English (US)](https://wordpress.org/plugins/airplane-mode/) 及 [Portuguese (Portugal)](https://pt.wordpress.org/plugins/airplane-mode/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/airplane-mode)
 * 標籤:
 * [http](https://tw.wordpress.org/plugins/tags/http/)
 *  [進階檢視](https://tw.wordpress.org/plugins/airplane-mode/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/airplane-mode/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/airplane-mode/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/airplane-mode/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/airplane-mode/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/airplane-mode/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/airplane-mode/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/airplane-mode/reviews/)

## 參與者

 *   [ Andrew Norcross ](https://profiles.wordpress.org/norcross/)
 *   [ John Blackbourn ](https://profiles.wordpress.org/johnbillion/)
 *   [ Andy Fragen ](https://profiles.wordpress.org/afragen/)
 *   [ Viktor Szépe ](https://profiles.wordpress.org/szepeviktor/)
 *   [ chriscct7 ](https://profiles.wordpress.org/chriscct7/)
 *   [ Mark Jaquith ](https://profiles.wordpress.org/markjaquith/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/airplane-mode/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://andrewnorcross.com/donate)