WordPress.org

Ready to get started?Download WordPress

Forums

WP Document Revisions
[resolved] workflow assignments not working (4 posts)

  1. kuolema
    Member
    Posted 1 year ago #

    Hi all
    installed the plugin, all is working fine except the workflow thing: i assign the status, click on updates button but the field remain blank, with no workflow status assigned.

    i've tried this with multiple roles, admin, author or whatever, same results, any hint?

    http://wordpress.org/extend/plugins/wp-document-revisions/

  2. jkinney768
    Member
    Posted 1 year ago #

    I'm having the same problem. I tried to re-install it and deactivated any of my other plugins and still wasn't working.

  3. gudialex
    Member
    Posted 1 year ago #

    Me too and found the answer in other blog. You should try this:
    1. Open the file wp-document-revisions\includes\admin.php
    2. Go to line 982
    3. Change the or-statement ( || ) to an and-statement ( && )
    The row should look like this when you're ready:
    if ( !isset( $old[0] ) && $old[0]->term_id == $_POST['workflow_state'] )

  4. kuolema
    Member
    Posted 1 year ago #

    thanks a lot, SOLVED!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic