[wp-trac] [WordPress Trac] #27251: In Admin, Firefox is caching the editor contents. Showing wrong content after refresh, if post was saved elsewhere.
WordPress Trac
noreply at wordpress.org
Sat Mar 1 23:49:48 UTC 2014
#27251: In Admin, Firefox is caching the editor contents. Showing wrong content
after refresh, if post was saved elsewhere.
--------------------------+------------------------------
Reporter: xsonic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: | Focuses: administration
--------------------------+------------------------------
Comment (by azaozz):
Thanks @xsonic for the report and the suggested patch. Have seen this in
other cases, most commonly when clicking the back button.
Then the problem is that the last version of the content in the textarea
doesn't include the <p> tags. Happens because when autosave runs, the
content of the textarea is updated and ran through pre_wpautop(). When the
browser loads the page from cache or fills the textarea with autocomplete
and TinyMCE is initialized, all paragraphs are merged.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27251#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list