• Hey Peter,

    There’s a plugin called “Revisionary”… It’s very cool!!!!! It allows users (e/g/ contributors) to submit revisions for review…

    You plugin work along side it except for one thing: when “revisions” are submitted, they are treated as “pending” so your plugin sends out an email…

    It’d be super neat if your plugin could detect when the Revisionary plugin is activated and avoid send a “pending for review” email notification since the Revisionary plugin send out its own email with a special link specifically for approving revisions.

    That would be fantastic!!!!

    You should try it out, just look for the “Revisionary” plugin and try submitting a revision as a contributor then you’ll notice two emails are sent out. Clicking on the link sent by your plugin works, but when the post is published, it has the effect of not applying the revision.

    The simple fix would be to simply ignore these special posts when Revisionary is active and avoid sending the notification.

    http://wordpress.org/extend/plugins/peters-collaboration-e-mails/

Viewing 1 replies (of 1 total)
  • Plugin Author Peter

    (@pkthree)

    Thanks for the request. I don’t think I’ll add checks for specific plugins, but perhaps just settings so that you could manually disable any of the e-mails. In the meantime, a very quick fix could be to replace this code:

    // E-mail moderator(s) for pending posts
        if ('pending' == $pce_newstatus && 'pending' != $pce_oldstatus) {

    With:

    $disable_pending_email = true;
        // E-mail moderator(s) for pending posts
        if ( !$disable_pending_email && 'pending' == $pce_newstatus && 'pending' != $pce_oldstatus) {

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Peter's Collaboration E-mails] Compatibility with "Revisionary" plugin…’ is closed to new replies.