[wp-trac] [WordPress Trac] #31896: Customizer Theme Switcher: Live previewing a theme breaks on subfolder installs

WordPress Trac noreply at wordpress.org
Wed Apr 8 18:58:09 UTC 2015


#31896: Customizer Theme Switcher: Live previewing a theme breaks on subfolder
installs
--------------------------+----------------------
 Reporter:  ericlewis     |       Owner:  ocean90
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  4.2
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+----------------------
Changes (by ocean90):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32086"]:
 {{{
 #!CommitTicketReference repository="" revision="32086"
 Customizer Theme Switcher: Fix preview URL for subfolder installs.

 Use `$_SERVER['HTTP_HOST']` and `$_SERVER['REQUEST_URI']` instead of
 `site_url()` and `$_SERVER['REQUEST_URI']`.

 fixes #31896.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31896#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list