WordPress.org

Ready to get started?Download WordPress

Forums

Edit sends to preview (2 posts)

  1. abrazell
    Member
    Posted 8 years ago #

    Really odd problem here. When one of our bloggers go to edit a post, the edit page comes up with the post preloaded okay. 2 seconds go by and there is a javascript redirect to the post with ?preview=true appended to the URL. When disabling javascript, this problem doesn't happen. I can't seem to find any javascript that would cause this to happen though. Here's one of the posts:

    http://www.pittwatch.com/brad-pitt-and-angelina-jolie-hold-a-press-conference/?preview=true

    See anything odd?

    Added: I've already replaced all of her core files and the plugins have been disabled one by one. No dice.

  2. abrazell
    Member
    Posted 8 years ago #

    Nevermind. Some wayward Javascript got into header.php. No idea how. It's not standard. I commented it out and everything is back to normal.

Topic Closed

This topic has been closed to new replies.

About this Topic