[wp-trac] [WordPress Trac] #9315: theme previewer shows current
theme instead of previewed theme
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 11 14:44:22 GMT 2009
#9315: theme previewer shows current theme instead of previewed theme
----------------------------+-----------------------------------------------
Reporter: gregg.lind | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Administration | Version: 2.8
Severity: normal | Keywords: theme
----------------------------+-----------------------------------------------
When previewing a theme, my installation always shows the current theme.
The displayed url for the preview is something like:
http://mysite.com/?preview=1&template=classic&stylesheet=classic&TB_iframe=true&width=753&height=430
When I change it to use 'siteurl' instead of 'home'
http://mysite.com/wp/?preview=1&template=classic&stylesheet=classic&TB_iframe=true&width=753&height=430
things behave properly.
Thus, for my installation, theme previewer has unexpected behaviour when
'siteurl' and 'home' are different.
Patch attached, affects back to at least 2.7. (if there is another cause
to explore, such at .htaccess / mod_rewrite, I hope to be enlightened)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/9315>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list