Opened 12 years ago
Closed 12 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Customize | Version: | 3.4 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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