Title: Single Tab Post Lock – Prevent Multiple Edit Tabs
Author: wpsqr
Published: <strong>2025 年 9 月 25 日</strong>
Last modified: 2026 年 1 月 27 日

---

搜索插件

![](https://ps.w.org/single-tab-post-lock/assets/banner-772x250.png?rev=3392729)

![](https://ps.w.org/single-tab-post-lock/assets/icon-256x256.png?rev=3367778)

# Single Tab Post Lock – Prevent Multiple Edit Tabs

 作者：[wpsqr](https://profiles.wordpress.org/wpsqr/)

[下载](https://downloads.wordpress.org/plugin/single-tab-post-lock.1.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/single-tab-post-lock/#description)
 * [评价](https://cn.wordpress.org/plugins/single-tab-post-lock/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/single-tab-post-lock/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/single-tab-post-lock/#developers)

 [支持](https://wordpress.org/support/plugin/single-tab-post-lock/)

## 描述

**Tired of accidentally editing the same post in multiple browser tabs?** Single
Tab Post Lock solves a common WordPress pain point that leads to lost work, content
overwrites, and edit conflicts.

WordPress prevents _different users_ from editing the same post simultaneously, 
but it **doesn’t stop the same user** from opening the same post in multiple browser
tabs. This creates a serious risk of:
 – **Lost edits** when switching between tabs–**
Content overwrites** when saving from the wrong tab – **Version conflicts** and 
corrupted data – **Frustrating “Confirm Navigation” warnings**

**The Simple Solution:**
 Single Tab Post Lock automatically locks each post to 
the **first browser tab** where you open it. If you try to open the same post in
another tab, you’ll receive a clear warning and be redirected back to your original
editing session — preventing any chance of data loss.

**Key Features:**

#### **Smart Post Locking**

 * Automatically prevents duplicate post editing in multiple tabs
 * Works seamlessly for the same user across the same browser
 * No configuration needed — works immediately after activation

#### **Lightweight & Efficient**

 * Pure JavaScript implementation — zero server load
 * No database queries or extra HTTP requests
 * Compatible with caching plugins and CDNs

#### **Data Protection**

 * 30-minute automatic lock timeout for browser crashes
 * Instant lock release when closing the editing tab
 * Prevents accidental overwrites and content loss

#### **Team Workflow Safety**

 * Perfect for multi-author blogs and editorial teams
 * Works alongside WordPress’s native multi-user lock system
 * Enhances collaborative editing safety

#### **Full Compatibility**

 * Works with both **Gutenberg Block Editor** and **Classic Editor**
 * Compatible with custom post types
 * Tested with popular page builders

**Ideal For:**
 – Newsrooms and editorial teams – Multi-author blogs and magazines–
Content agencies with multiple editors – E-commerce sites with product editors –
Any WordPress site where users edit content regularly

### Documentation

You can find comprehensive documentation on our website at [Single-Tab-Post-Lock Documentation](https://www.sigmasqr.com).

### Troubleshooting

 1. Ensure the Single Tab Post Lock plugin is activated.
 2. Verify your WordPress version is at least 5.2.
 3. Clear your browser cache if the lock script does not run.
 4. Contact support via [https://www.sigmasqr.com](https://www.sigmasqr.com) for further
    help.

## 屏幕截图

 * [[
 * **Dashboard**
 * [[
 * **Alert Options**
 * [[
 * **Alert Notification**

## 安装

 1. Upload the `single-tab-post-lock` folder to the `/wp-content/plugins/` directory,
    or install via the WordPress plugin installer.
 2. Activate the plugin through the “Plugins” screen in WordPress.
 3. Access the plugin via Settings  Single Tab Post Lock.

## 常见问题

### Does this plugin prevent multiple users from editing the same post?

No. WordPress already has a native post lock for multiple users. This plugin only
prevents **the same user** from editing the same post in multiple tabs.

### What happens if my browser crashes or a tab is closed unexpectedly?

The lock automatically clears when the editor is closed. If the browser crashes,
the lock expires after 30 minutes.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Single Tab Post Lock – Prevent Multiple Edit Tabs」是开源软件。 以下人员对此插
件做出了贡献。

贡献者

 *   [ wpsqr ](https://profiles.wordpress.org/wpsqr/)

[帮助将「Single Tab Post Lock – Prevent Multiple Edit Tabs」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/single-tab-post-lock)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/single-tab-post-lock/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/single-tab-post-lock/)，或通过[RSS](https://plugins.trac.wordpress.org/log/single-tab-post-lock/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/single-tab-post-lock/)。

## 更新日志

#### 1.0.2

 * Enhanced: Improved browser compatibility
 * Added: WordPress 6.9 compatibility verification
 * Security: Sanitized all user-facing messages

#### 1.0.1

 * Small bug fixes for improved stability.
 * Minor code and performance improvements.

#### 1.0.0

 * Initial release
 * Added single-tab locking for post editing
 * Automatic lock removal on tab close
 * 30-minute timeout fallback

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**4 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.2 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/single-tab-post-lock/)
 * 标签
 * [content-protection](https://cn.wordpress.org/plugins/tags/content-protection/)
   [lock](https://cn.wordpress.org/plugins/tags/lock/)
 *  [高级视图](https://cn.wordpress.org/plugins/single-tab-post-lock/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/single-tab-post-lock/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/single-tab-post-lock/reviews/)

## 贡献者

 *   [ wpsqr ](https://profiles.wordpress.org/wpsqr/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/single-tab-post-lock/)