WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Browser Post Version Check (11 posts)

  1. AskKim
    Member
    Posted 9 months ago #

    WordPress 3.6-RC1-24704
    Browser: Chrome & Firefox

    Link to a brief screencast video showing how to replicate: http://www.screencast.com/t/sfxQAf6u

    Screenshot of same issue in Firefox: http://screencast.com/t/j6rEWXtyU

    Creation of a draft post (and saving the draft) result in the post ID to be added to the URL bar (correctly).

    From that state, restarting the browser or force reloading the tab causes the Chrome browser to display MANY copies of the same message.

    "the backup of this post in your browser is different from the version below"

    (I believe that error message is specified in wp-admin/includes/misc.php)

    The problem is really not that the error message breaks anything but that it shows up more than a half dozen times, and pushes the page content way down the page.

    Firefox does not trigger this message so the message itself may be the first error.

    It does not seem to matter HOW you cause the page to be reloaded (meaning either ctrl-F5, or right click reload, or restarting the browser).

    I should have reported this before as it's been present since at least beta 4 (and I think was in beta 3).

    Kim

  2. Mark Jaquith
    WordPress Lead Dev
    Posted 9 months ago #

    Haven't been able to duplicate. So there might be a plugin interaction here.

    Two issues:

    1. The message shouldn't show more than once.
    2. The message shouldn't show at all.
  3. Mark Jaquith
    WordPress Lead Dev
    Posted 9 months ago #

  4. Andrew Ozz
    WordPress Dev
    Posted 9 months ago #

    @AskKim what plugins are loaded on that screen. Can see something is extending TinyMCE quite a bit, could you try disabling and re-testing please.

    Also if you can look at the page source for errors/irregularities, or even better: select view source in the browser, then copy all and paste in a text file, and then attach that file to the trac ticket. You can look through the HTML source for information you wouldn't want to make public and delete it, perhaps URLs, paths, etc.

  5. AskKim
    Member
    Posted 9 months ago #

    I'm looking through plugins now but it's more than a single plugin interaction so I'm having to track down multiples that may be playing a role and look if there are cross reactions too.

    The extension of TinyMCE is the plugin TinyMCE Advanced and as far as I can tell is not my culprit.

    I may not get this wrapped up tonight but am definitely investigating since after Mark mentioned it, I proved that it does not replicate on my test account on the same host.

    Form what I can tell at the moment, several plugins either cause it or are involved in causing it. It may actually be that several plugins cause one copy of the memo to appear and multiple plugins can can cause one instance end up cumulatively being additive. Not sure yet.

  6. Andrew Ozz
    WordPress Dev
    Posted 9 months ago #

    Thanks for checking this out :)

    I've tested with TinyMCE Advanced, (it's one of my plugins btw) and it doesn't cause it. One way this may be happening is if there are multiple H2s at the top of that screen. There is a small patch on the trac ticket to prevent this. Perhaps if you get a chance, give it a try. The only change needed is in the wp-includes/js/autosave.js file on line 636. It currently looks like this:

    $('.wrap h2').after( notice.addClass('updated').show() );

    and has to be changed to:

    $('.wrap h2').first().after( notice.addClass('updated').show() );.

    (To test this change you'll need define('SCRIPT_DEBUG', true); in wp-config.php).

  7. AskKim
    Member
    Posted 9 months ago #

    Hmmm... hitting a roadblock. A "half-stack" of my plugins causes one copy of the message to turn up inconsistently. Meaning not on every refresh (or even every third refresh). I've been chasing this for a long while tonight and it's maddening that it's totally flakey.

    It *may* be that it's only turning up after enough time has lapsed to trigger an auto-save to kick in.

    I haven't given up yet, but calling it a night and will be out of the office the next day or two.

    Kim

    PS: Andrew thanks for your plugin awesomeness. I use that plugin on nearly every site I own or manage. Good stuff and mucho appreciated :)

  8. Mark Jaquith
    WordPress Lead Dev
    Posted 9 months ago #

    AskKim — any more luck narrowing it down to specific plugins? Alternatively, if you list your plugins for us, we can probably figure it out pretty quickly.

  9. supermoto1961
    Member
    Posted 8 months ago #

    same here. this message starts to appear after upgraded to 3.6.

    This message appears when actively editing a page. It disappears after finishing editing the page and leave the page alone for a while.

    My plugin list is rather short. But the following two might be the reason:

    - CKEditor

    - WP Super Cache

  10. MkSofttX
    Member
    Posted 7 months ago #

    Hi

    I'm facing the same problem :-( I deactiveted the CKEditor and when clicking on the Publish button now the message: "the backup of this post in your browser is different from the version below" doesn´t appear anymore. Buut, when getting back to see all the pages the new page I just created appears like: --SamplePage

    Any solution so far?

    Technical details
    WP: 3.6
    Browsers: Firefox 23.0.1 and IE 10

  11. esmi
    Theme Diva & Forum Moderator
    Posted 7 months ago #

    WordPress 3.6 is no longer in beta. Please post your own topics.

Topic Closed

This topic has been closed to new replies.

About this Topic