Update wordpress core to 3.8.2 and now the locked posts come up with the option to takeover again. I have deactivated and reactivated again but still seems to have stopped working.
]]>Hey Bryan,
great idea here. However, the plugin doesn’t exactly do what it should.
On activation of the plugin _edit_lock post meta is cleared, which clears any current locks for posts.
I believe the best approach here would be to just filter ‘wp_check_post_lock_window’, and set it to a negative value. Cheers.
<?php
add_filter( 'wp_check_post_lock_window', 'set_post_lock_window_to_a_negative_number' );
function set_post_lock_window_to_a_negative_number( $lock_window ) {
$lock_window = -1;
return $lock_window;
]]>