Opened 15 years ago
Closed 15 years ago
#10289 closed defect (bug) (worksforme)
Theme preview doesn't work when previewing another page than home
Reported by: | kwurzel | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.8 |
Component: | Themes | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
In WP 2.8b2, the theme preview doesn't work when you're trying to preview another page than your home page (which is previewed by default).
steps to reproduce:
- open theme preview
- click an (internal) link to a different page/post/etc.
- the default theme is used
I'm not using any caching plugin, my browser cache is cleared and I tried to renew the admin cookie, as advised in #9315.
Change History (9)
#2
@
15 years ago
They aren't. :-) Internal links have the same query string, so theoretically it should be possible to browse within the preview. And even if they were, how am I supposed to preview another page than my front?
#3
@
15 years ago
There is no abstraction of the HTTP request with WP, therefore you risk a lot for the preview. It's more or less a game of luck.
But I remember I was previewing other pages then front some time ago.
#4
@
15 years ago
- Cc kwurzel added
It was possible with 2.7.1 before the upgrade.
What do you mean by "no abstraction of the HTTP request with WP"? It's possible to load the preview in a new window/tab, so why shouldn't it work for other pages after clicking a link?
#5
@
15 years ago
For the theme to work (theme = any theme) and there is only one request, you can't properly preview a secondary theme with the one request that there is for the primary theme. that is what I mean with that there is with "no abtration of the HTTP request with WP". To have the preview work properly, at least a secondary request must be done and therefore request at all must be abstracted to handle one or more additional requests.
from memory, The links to other pages are supposed to be disabled when previewing to prevent you from browsing around due to that exact problem