Opened 17 years ago
Closed 17 years ago
#10289 closed defect (bug) (worksforme)
Theme preview doesn't work when previewing another page than home
| Reported by: | kwurzel | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Themes | Version: | 2.8 |
| Severity: | normal | Keywords: | reporter-feedback |
| Cc: | Focuses: |
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
@
17 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
@
17 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
@
17 years ago
- Cc 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
@
17 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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