Support » Plugin: Edit Flow » [Plugin: Edit Flow] EditFlow conflicting with Wp to Twitter

  • Resolved nvassos


    Hi there, we are using EditFlow for our workflow management but we are having issues with WP to Twitter.

    When our contributors enter the text they want on the custom fields of Wp to Twitter before submitting for review, they don’t get saved up. When the admin does it, it works just fine. Not sure if it has to do with the custom statuses.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Daniel Bachhuber


    Hand Built

    Does the problem persist when you have Edit Flow deactivated?

    No, it’s saved fine but then again there are no custom statuses. We just had an article written with everything saved up, we moved it to Layout Pending and the twitter information was gone. Not sure if its edit-flow or wp to twitter but it works without edit-flow. Any ideas?

    Plugin Author Daniel Bachhuber


    Hand Built

    It looks like the WP to Twitter plugin doesn’t support custom statuses. In particular, it drops the tweet text if the current status isn’t one of the hardcoded statuses. You might want to try out an alternate Twitter plugin if both posting to Twitter and custom statuses are requirements.

    Hope this helps!

    That doesn’t seem like a likely candidate for this problem – the code you’re citing relates to actually sending the tweet; and it’s just excluding those specific statuses from being Tweeted. It’s true that WP to Twitter doesn’t support custom statuses, but it shouldn’t be relevant to saving the custom tweet text or other WP to Twitter custom fields — those are all saved on the ‘save_post’ action hook, and the post status is not considered at that time.

    Does Edit Flow go around the ‘save_post’ action in order to save custom statuses?

    Plugin Author Daniel Bachhuber


    Hand Built

    Good point, misdiagnosis on my part. Custom status UI is added with JS. There are a couple of hacks to work around deficiencies in core but other than that it’s pretty straightforward.

    Are there why other status checks I missed? @nvassos, can you share screenshots of before and after, and the custom statuses you’re using?

    No, the only time that WP to Twitter check the status of a post is when it’s looking to see whether that post should be tweeted.

    I find it also curious that contributors would have this issue, but not administrators – there aren’t any user permission checks in the process, either.

    Question: if you add some other arbitrary custom field, does that also have problems with disappearing after saving?

    Not that I know of. All rest work fine, we do have alot of custom fields on the posts. The difference between contributors and administrator is, contributors save as pending-review / or layout-pending. The admins always open to publish.

    So it must have something to do with the transition process. If you could upgrade to WP to Twitter version 2.4.0 (released yesterday) and re-test, I’d greatly appreciate it. There are changes which *could* be relevant; although I certainly won’t guarantee it. However, if I happened to have already fixed this incidentally, I’d like to know it!

    Updated last night, we will see how it goes today and i will let you know.

    It’s been working perfectly so far. whatever was fixed, fixed the issue lol. Thank you so much.

    Awesome. Happy to hear it.

    New updates broke it

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: Edit Flow] EditFlow conflicting with Wp to Twitter’ is closed to new replies.