Public (Non-Admin) Post Edit/Revision History

you can grab revisions from wpdb with smth like

$revisions = $wpdb->get_results("select * from {$wpdb->posts} where post_parent={$post_id} and post_type="revision"")

after selecting a revision you could use some js diff tool like

http://cemerick.github.io/jsdifflib/demo.html

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)