Title: WordPress didn&#8217;t lock posts for editing
Last modified: March 31, 2022

---

# WordPress didn’t lock posts for editing

 *  Resolved [annrochelle](https://wordpress.org/support/users/annrochelle/)
 * (@annrochelle)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-didnt-lock-posts-for-editing/)
 * Hi – Normally WordPress will display a message on the All Posts page stating 
   something similar to, “Kevin is editing this post” and locking other users out
   from simultaneously editing that post.
 * But yesterday I lost a bunch of work when another user saved his edits after 
   I saved mine. And later in the day he lost work when I saved my edits shortly
   after he saved edits. Neither of us saw the usual “Kevin is editing this post”
   message on the way in to edit the post. Neither of us was blocked from simultaneously
   editing the post, or saw error messages or anything unusual before noticing our
   lost edits. We’re both admin-level users. WordPress version is current, 5.9.2.
 * Any ideas that could explain this, or info on how to enforce the lockout of users
   so that only one person can edit a post at a time? I can’t find any settings 
   for this.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-didnt-lock-posts-for-editing%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * (@jeroenrotty)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-didnt-lock-posts-for-editing/#post-15515542)
 * The post locking feature uses the Heartbeat API to let your site know the session
   is still open with a user. Maybe you are running custom code or a plugin that
   enhances or disables it?
 * To restore content from your lost work, please check if you can find multiple
   revisions of the post/page and copy past that into a new instance to restore 
   your lost work.
 *  Thread Starter [annrochelle](https://wordpress.org/support/users/annrochelle/)
 * (@annrochelle)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-didnt-lock-posts-for-editing/#post-15515837)
 * Thanks for your reply. We did restore all lost work and now want to ensure it
   doesn’t happen again.
 * Is there a way to search our site to see if anything is giving instructions to
   Heartbeat other than WordPress itself?
 * We have no custom code like that – only custom mega menu code, and assorted code
   snippets for styling details. All custom code is over a year old, not recent.
 * Found info about manually configuring or disabling Heartbeat in the theme’s functions.
   php file. Checked both our Divi theme functions.php and active child theme functions.
   php and there’s no mention of Heartbeat.
 * Just installed the Heartbeat plugin – but don’t know if it will override other
   code, i.e. is it loaded first or last. I’ll run a test with the other admin user.
   To find out if he sees the “Another user is editing this post” lock message with,
   vs. without, the Heartbeat plugin active and configured to allow Heartbeat everywhere
   on the site.
 *  Thread Starter [annrochelle](https://wordpress.org/support/users/annrochelle/)
 * (@annrochelle)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-didnt-lock-posts-for-editing/#post-15518363)
 * Update: We are now seeing the “Kevin is editing this post/page” lock message 
   correctly. Perhaps it was a weird problem just with that one post. Or perhaps
   me installing the Heartbeat plugin, telling it to enable pulsing site-wide, then
   de-activating the plugin, flushed something out of the system. In any case, this
   seems to be resolved. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress didn’t lock posts for editing’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [annrochelle](https://wordpress.org/support/users/annrochelle/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/wordpress-didnt-lock-posts-for-editing/#post-15518363)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
