Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#46330 new defect (bug)

Preview showing commented HTML

Reported by: painter602's profile painter602 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.1
Component: General Keywords: reporter-feedback
Focuses: ui Cc:


The way previews are generated in WP 5.1 have changed from 4.x.
IIRC, previously the page was saved to the database and a preview was read as HTML from there.

Now previews feel slower and seem to be generated through another mechanism
A number of errors are appearing in the new (?)generated(?) pages.
1) Commented HTML is showing when it should be hidden.
2) On my own site, some duplicate database results appear when they should be consolidated into one line.
In my case, these are for events that ran across several days.

Note: pages show as intended when page is saved and viewed normally.
This issue with preview only appeared for me when I moved to WP 5.1

Attachments (1)

20190223 Preview and Live.jpg (494.9 KB) - added by painter602 5 years ago.
Image showing preview page with errors, and a section of the live page.

Download all attachments as: .zip

Change History (2)

5 years ago

Image showing preview page with errors, and a section of the live page.

#1 @pento
5 years ago

  • Keywords reporter-feedback added; ux-feedback ui-feedback removed

Thank you for the bug report, @painter602!

Does this happen when you use the new block editor? Which plugin are you using to create your events list?

To get your site working as it did with WordPress 4.9, you can install the Classic Editor plugin, which will bring back the old editing interface while we figure out the fix.

Note: See TracTickets for help on using tickets.