WordPress.org

Support

Support » How-To and Troubleshooting » Can I use wp_list_post_revisions() to display revision diffs to visitors?

Can I use wp_list_post_revisions() to display revision diffs to visitors?

  • I would like to have a wikipedia-style list of revisions for visitors to view, with diffs. I know that I can use wp_list_post_revisions() to display a simple list of revisions, but the docs for the function say “Second argument controls parameters:. . . .’form-table’ outputs TABLE with UI . . .”.

    I know zero PHP and dinking around with the function in a single post template has either resulted in an error, or a simple list.

Viewing 1 replies (of 1 total)
  • I haven’t gotten diffs working, but I was able to get a public revision history by using these instructions. NOTE: you’ll have to view source to see the actual code, there’s some sort of bug in his CODE code.

Viewing 1 replies (of 1 total)
  • The topic ‘Can I use wp_list_post_revisions() to display revision diffs to visitors?’ is closed to new replies.