wp-front-end-editor
wp-front-end-editor copied to clipboard
Concurency control
FEE could have a mechanism that signals when user A is about to overwrite a change that user B made in the meantime.
get XHR response:
{ content: '...', hash: 'x12' }
save XHR message:
{ new_content: '...', hash: 'x12' }
save processing:
$old_hash = md5( $old_content );
if ( $old_hash != $received_hash )
die( 'Content changed in the meantime' );