[wp-trac] [WordPress Trac] #13779: Preview doesn’t work - WP installed in its own directory
WordPress Trac
noreply at wordpress.org
Mon Jul 29 00:16:40 UTC 2013
#13779: Preview doesn’t work - WP installed in its own directory
--------------------------+------------------------------
Reporter: antares19 | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 2.9.2
Severity: normal | Resolution:
Keywords: 2nd-opinion |
--------------------------+------------------------------
Changes (by mdawaffe):
* keywords: needs-patch needs-codex => 2nd-opinion
Comment:
I think the specific issue of not being able to preview themes immediately
after changing WordPress's home option is fixed as of the new Theme
Customizer.
Options:
1. Close as fixed.
2. Call `wp_clear_auth_cookie()` and `wp_set_auth_cookie()` whenever the
home option changes. That would fix this issue at its root and probably
fix other similar annoyances.
Option 1 is easy :)
Option 2 is hard because we know what the old values of `COOKIEPATH`,
`SITECOOKIEPATH`, etc. are, we don't what the new ones should be. We can
calculate them from the new values of the home, etc. options, but a site
could have any of these constants hardcoded, in which case calculating
them from the options is probably wrong.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13779#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list