Title: Version Locker
Author: Vishal Paswan
Published: <strong>2026 年 1 月 8 日</strong>
Last modified: 2026 年 4 月 11 日

---

搜尋外掛

![](https://ps.w.org/version-locker/assets/banner-772x250.png?rev=3463341)

![](https://ps.w.org/version-locker/assets/icon.svg?rev=3463341)

# Version Locker

 由 [Vishal Paswan](https://profiles.wordpress.org/alphadev01/) 開發

[下載](https://downloads.wordpress.org/plugin/version-locker.1.2.2.zip)

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

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

## 外掛說明

Version Locker lets you lock specific plugins and themes to their current version.
Once locked, they won’t update automatically or manually until you unlock them.

Useful for keeping your site stable when you have customized plugins, client sites,
or production environments where you need control over when things update.

### What It Does

 * Lock individual plugins to prevent updates
 * Lock individual themes to prevent updates
 * Block all plugin updates at once (global killswitch)
 * Block all theme updates at once (global killswitch)
 * Block WordPress core updates (global killswitch)
 * Quick toggle locks on/off without page reload
 * Bulk lock or unlock multiple items
 * Email alerts when locked items try to update
 * Search and filter your plugins and themes
 * Activity log showing who locked what and when
 * Works on Multisite (each site has its own locks)

### How It Works

The plugin uses WordPress filters to hide update notifications and block update 
attempts. It doesn’t modify any plugin or theme files.

### Credits

Thanks to [Nemai Naskar](https://profiles.wordpress.org/nemai/) for testing and 
feedback on 1.2.2.

## 安裝方式

 1. Install through WordPress Plugins screen or upload to `/wp-content/plugins/`
 2. Activate the plugin
 3. Go to **Tools  Version Locker**
 4. Toggle locks on or off for plugins and themes

## 常見問題集

### Does this modify plugin or theme files?

No. It only uses WordPress filters to control update behavior.

### Will locked items still show update available?

You’ll see a small indicator that an update exists, but the update button won’t 
appear.

### Can I still update a locked item?

Yes, just unlock it first. Updates work normally once unlocked.

### What’s the difference between locking one item vs using the killswitch?

Locking targets specific items. The killswitch disables ALL plugin updates, ALL 
theme updates, or core updates site-wide.

### Does this work on Multisite?

Yes. Each site has its own independent locks.

### What happens if I delete the plugin?

By default, all locks and settings are preserved on uninstall. To delete all data
on removal, enable “Delete all data on uninstall” in the Settings tab before uninstalling.

### What changed from 1.2.1?

Theme locking, global killswitches, email notifications, quick toggles, bulk actions,
Multisite support, and a rebuilt codebase. All existing locks carry over automatically.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

 *   [ Vishal Paswan ](https://profiles.wordpress.org/alphadev01/)

[將〈Version Locker〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/version-locker)

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

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

## 變更記錄

#### 1.2.2 – 2026-01-24

**New**

 * Theme locking — lock individual themes just like plugins
 * Global killswitches — disable all plugin, all theme, or core updates with a single
   toggle
 * Email notifications — get alerted when a locked item tries to update
 * Quick toggle — lock or unlock without a page reload
 * Bulk lock/unlock — select multiple items and toggle them at once
 * Auto-lock for newly installed plugins (optional)
 * Live search and filter on plugins and themes tabs
 * Multisite support — each site manages its own locks independently
 * Audit log now available on all sites (previously multi-admin only)
 * Audit log CSV export
 * Rate limiting on AJAX actions to prevent abuse

**Improvements**

 * Rebuilt with a proper class-based structure (autoloader, services, failsafe layer)
 * Error handling now catches bootstrap failures and shows a graceful admin notice
   instead of crashing
 * Improved input validation across all form submissions and AJAX handlers
 * Added `VLOCKER_DISABLE_ALL` constant as an emergency kill switch (define in wp-
   config.php)
 * Better performance through caching
 * PHP requirement lowered from 7.4 to 7.0
 * Uninstall behavior changed to safe-by-default — data is now preserved on removal
   unless you opt in to deletion from the Settings tab

**Security**

 * Separate capability checks per tab (plugins, themes, settings)
 * AJAX nonce verification on all endpoints
 * CSV injection protection on audit log export
 * Transient-based rate limiting on quick toggle and test email

#### 1.2.1

 * Initial release
 * Plugin locking only (no theme support)
 * Audit log for multi-admin sites only

## 中繼資料

 *  版本 **1.2.2**
 *  最後更新 **1 個月前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/version-locker/)
 * 標籤:
 * [disable updates](https://tw.wordpress.org/plugins/tags/disable-updates/)[Update Manager](https://tw.wordpress.org/plugins/tags/update-manager/)
   [version control](https://tw.wordpress.org/plugins/tags/version-control/)
 *  [進階檢視](https://tw.wordpress.org/plugins/version-locker/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/version-locker/reviews/#new-post)

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

## 參與者

 *   [ Vishal Paswan ](https://profiles.wordpress.org/alphadev01/)

## 技術支援

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

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