Support » Fixing WordPress » Code Changes When You Save or Publish

  • Hey,

    I’ve experienced an occasional problem with code. For example, I’ve cut and pasted link code into a post in case someone wants to buy a book I’m talking about. Then I save or publish the post, and the code changes subtely, so the link doesn’t work as it should.

    It also happens when I embed YouTube code into a post. It always works fine the first time I post, but when I edit the post to fix a misspelling or some punctuation, the code–which I haven’t touched or even come close to touching–changes, so the video disappears and all that is left is the empty space with the video was and one of those little “x’s” in the upper left hand corner.

    Any idea how to solve this ongoing problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Are you using IE?

    I had this issue. Try first going to your profile and turning off your rich text editor function. Then re-paste the code and see if this works.

    If it doesn’t, watch out for embed tags and object tags. If these are the ones causing the problem, check what version of Java you are using. I had to downgrade to 1.5.0 to stop the error you had from happening on my production pc.

    Hope this helps.


    Yes. If I use Firefox, will that solve the problem? I know Firefox avoids another IE problem, the “Stack overflow in line 1585” problem.

    Thanks for your help. I’ll see if it helps.

    Anyone else have a better solution?

    The basic rule is: disable, turn off the rich text editor (visual, wysiwyg) if you want to put code in posts.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Code Changes When You Save or Publish’ is closed to new replies.