Support » Fixing WordPress » WordPress is deleting my code when embedding tweets

  • Here is the problem: I am creating blogs that include twitter embeds (some with pics, some without). This is to provide for my followers an aggregate location for real time events around singular topics. Since upgrading to the latest WP, my code will suddenly vanish. And the autosaves don’t show all of the code, as if something is corrupt and deleting the code. The latest incident happened last night. After 5 hours of work- boom. All gone. All autosaves missing code, as well. (This has happened twice so far)


    This morning I calmed down and looked back into the blog and…lo and behold, it was all restored! At least via the autosaves. Whew. But this can’t continue. What is going on?

    One caveat…there might be another staff member who is in the blog at the same time, also editing in real time with me (from a different computer and location). I only mention this because I wonder if the latest version of WP does not allow 2 users inside the same blog at the same time (it’s always sort of had this problem). I cannot be 100% sure my colleague is also in there (though upon refreshing my updates it shows me there is an autosave that just happened- a sign, to me, that he is also in the blog).

    Can anyone provide insight into this issue? And do not suggest my colleague is doing something funny. That is impossible since it is his blog.

    Thank you in advance.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Yes two people can edit the same posts. Whatever is on their screen when they save is what will be reflected in the live copy. For example, you both load up a post that contains:
    1, 2, 3, 4

    And 10 minutes later you finishing editing it and save it with the following contents:
    1, 2, 3, 4, 5, 6

    Now, your colleague had the same post open the whole time and another twenty minutes passes, and he saves it as:
    1, 2, 3, 4, 7, 8

    It would seem as though your 5 and 6 disappeared, but in reality it was just overwritten by a newer copy.

    Andrew, thank you so much for the speedy reply. At least answers that question. So if we are two users inside the blog, why is it deleting content when that is the only variable. It doesn’t happen when I’m the only one in there. And it did not used to happen in earlier versions of WP when the two of us were in there.

    Again, this only happens when I’m embedding tweets.

    Are you scheduling posts for later publishing? There has been some funkiness with that in WP 3.5.

    In both cases that this happened, these were two blogs that had gone live days prior. Then I’m directing traffic back to one of the blogs to watch in real time as I update almost minute by minute as I’m collecting tweets and embedding them. So as they refresh they see all of the new tweets on the topic. Make sense?

    So you’re updating a single post repeatedly?

    Correct. I create an initial blog announcing an event. Then on the night of the event I drive traffic to that same blog as I update in real time with fan content (mostly tweets).

    I gotta say man I’m sorry I don’t know. Hopefully someone else can help you. I’ve never heard of WordPress stripping anything out like tweets on a routine post update.

    And not just tweets! It strips out everything that was previously in the post. Insane. I hope someone can advise. (PS- the post also use a plug in for my travel schedule- showing people the calendar of where I’m at)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WordPress is deleting my code when embedding tweets’ is closed to new replies.