Opened 11 years ago
Closed 10 years ago
#27992 closed defect (bug) (fixed)
Theme Customizer doesn't load content when activated from a 404 page.
Reported by: | kwight | Owned by: | ocean90 |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 3.4 |
Component: | Customize | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Go to any page that produces a 404, and select the Customizer from the admin bar. The Customizer sidebar loads, but no content, leaving just the grey overlay (because of the 404).
I would expect it to load the same page I was looking at anyways – the 404 template.
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Prevent sending a 404 status when returning the response for the customize preview, since it causes the jQuery Ajax to fail. Send 200 instead. Also pushed to GitHub: https://github.com/x-team/wordpress-develop/pull/19