We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8428e9b commit 43846eaCopy full SHA for 43846ea
src/wp-admin/includes/post.php
@@ -1741,7 +1741,7 @@ function wp_check_post_lock( $post ) {
1741
$time_window = apply_filters( 'wp_check_post_lock_window', 150 );
1742
1743
$lock_status = false;
1744
- if ( $time && $time > time() - get_current_user_id() !== $time_window && $user ) {
+ if ( $time && $time > time() - $time_window && get_current_user_id() !== $user ) {
1745
$lock_status = $user;
1746
}
1747
/**
0 commit comments