WordPress.org

Ready to get started?Download WordPress

Forums

Edit Flow
[resolved] EditFlow conflicting with Wp to Twitter (13 posts)

  1. nvassos
    Member
    Posted 2 years ago #

    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.

    http://wordpress.org/extend/plugins/edit-flow/

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    Does the problem persist when you have Edit Flow deactivated?

  3. nvassos
    Member
    Posted 2 years ago #

    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?

  4. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    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!

  5. Joe Dolson
    Member
    Posted 2 years ago #

    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?

  6. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    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?

  7. Joe Dolson
    Member
    Posted 2 years ago #

    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?

  8. nvassos
    Member
    Posted 2 years ago #

    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.

  9. Joe Dolson
    Member
    Posted 2 years ago #

    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!

  10. nvassos
    Member
    Posted 2 years ago #

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

  11. nvassos
    Member
    Posted 2 years ago #

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

  12. Joe Dolson
    Member
    Posted 2 years ago #

    Awesome. Happy to hear it.

  13. nvassos
    Member
    Posted 2 years ago #

    New updates broke it

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic