WordPress.org

Ready to get started?Download WordPress

Forums

Revisionary
Code Suggestion and Concept Suggestion (2 posts)

  1. Seth Carstens
    Member
    Posted 3 years ago #

    First might I suggest modifying front_rvy.php line 52 (in the version I have) to the following code:
    if ( 'page' == $parent->post_type && $parent->post_name == $revision->post_name ) {

    We added the second part of the IF statement. You were breaking the page template on "sub page draft submissions" where a user would create a new page and submit for review. If its parent for example was "home" and had a page template "tpl-home.php" the new drafted page takes on the "tpl-home.php" and all the content of the revision looks messed up when you click the preview button.

    We moderately modified your plugin to accommodate a smoother and more precise quality assurance workflow but your plugin has provided an amazing structural starting point. Great work!

    http://wordpress.org/extend/plugins/revisionary/

  2. kevinB
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for the detailed feedback. I'll look into that (and probably implement your suggested change) before the next release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic