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

  1. Mark Morgan
    Posted 6 years ago #

    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.

  2. Mark Morgan
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic