WordPress.org

Make WordPress Core

Opened 12 months ago

Last modified 12 months ago

#45532 reopened defect (bug)

WordPress 5.0 preview does not show updated content

Reported by: JoshCrawford Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0
Component: Editor Keywords: needs-patch
Focuses: Cc:
PR Number:

Description

When making an update to a page using the WordPress 5.0 code editor and then clicking "Preview," the preview page does not display the updated content.

Steps to reproduce:

  • Log in as an admin
  • Click Pages
  • Select a page to edit
  • Click the 3 dots menu on the right
  • Select "Code Editor"
  • Make changes to code within the editor
  • Click Preview in the top right

Expected result: Updated code will be displayed in the preview page

Actual result: The preview page displays the unedited page until the "Update" button is clicked

Attachments (2)

wordpress preview.png (76.2 KB) - added by JoshCrawford 12 months ago.
wordpress preview bug.gif (848.9 KB) - added by andreacrawford 12 months ago.

Download all attachments as: .zip

Change History (5)

#1 @Hitendra Chopda
12 months ago

  • Keywords needs-refresh added
  • Resolution set to worksforme
  • Severity changed from major to normal
  • Status changed from new to closed

@JoshCrawford I have checkout with the page by editing the title in code editor view and just click to preview button and its works fine.

Please check attached video screen for the process.

Please let me know if you have used any custom theme or effect any other plugins.

Link: https://drive.google.com/file/d/1tiDIVmVvEQAWqu8IKT40_SYDiQcZUA4Z/view?usp=drivesdk

Thanks,

#2 @andreacrawford
12 months ago

  • Resolution worksforme deleted
  • Status changed from closed to reopened

Hi, I'm the issue reporter (was accidentally logged into my husband's account). I don't have access to the attached google drive link. I'm attaching a gif of the issue.

#3 @SergeyBiryukov
12 months ago

  • Keywords needs-patch added; needs-refresh removed
Note: See TracTickets for help on using tickets.