WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. kuolema
    Member
    Posted 10 months 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 9 months 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 9 months 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 8 months ago #

    thanks a lot, SOLVED!

Reply

You must log in to post.

About this Plugin

About this Topic