Описание
Single Tab Post Lock is a lightweight WordPress plugin that ensures you don’t accidentally open and edit the same post in multiple browser tabs at once.
By default, WordPress prevents different users from editing the same post at the same time — but not the same user in multiple tabs. This can lead to version conflicts, lost content, or overwritten changes.
Single Tab Post Lock solves this problem with a simple and elegant in-browser locking system. When you open a post for editing, it becomes locked in that tab only. If you try to open it again in another tab, you’ll see a clear warning message and the editor will be blocked — preventing any risk of accidental overwrites.
Key Features:
— Single-Tab Editing: Prevents the same user from editing a post in multiple browser tabs.
— Smart Auto-Cleanup: Locks automatically clear when the editor tab is closed or reloaded.
— Safe Timeout: Locks expire after 30 minutes in case of browser crashes or unexpected closures.
— Lightweight & Fast: Runs purely in the browser using JavaScript — no extra server load.
— Full Compatibility: Works seamlessly with both Gutenberg and Classic Editor.
Troubleshooting
- Ensure the Single Tab Post Lock plugin is activated.
- Verify your WordPress version is at least 5.2.
- Clear your browser cache if the lock script does not run.
- Contact support via https://www.wpsqr.com for further help.
Установка
- Upload the
single-tab-post-lockfolder to the/wp-content/plugins/directory, or install via the WordPress plugin installer. - Activate the plugin through the «Plugins» screen in WordPress.
- 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 I close a tab without saving?
-
The plugin automatically clears the lock when you close or leave the editor. If your browser crashes, the lock expires after 30 minutes by default.
-
Will this affect performance?
-
No. The plugin is lightweight and only runs a small JavaScript snippet on post edit screens.
-
Is there documentation available?
-
Yes, you can find comprehensive documentation on our website at Single-Tab-Post-Lock Documentation.
Отзывы
Нет отзывов об этом плагине.
Участники и разработчики
«Single Tab Post Lock» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Single Tab Post Lock» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
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



