[Plugin: Revisionary] Code Suggestion and Concept Suggestion
-
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!
- The topic ‘[Plugin: Revisionary] Code Suggestion and Concept Suggestion’ is closed to new replies.