[wp-trac] [WordPress Trac] #25315: Theme Customizer preview wont load home URL

WordPress Trac noreply at wordpress.org
Fri Sep 13 17:39:00 UTC 2013


#25315: Theme Customizer preview wont load home URL
--------------------------+-----------------------------
 Reporter:  stri8ed       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  3.6.1
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 In the theme-customizer, clicking on the home link (within the preview
 iframe), does nothing, unless the home link is followed by a trailing
 slash.

 <a href="http://website.com">Home</a> - will not load. stays on current
 page and does nothing.

 <a href="http://website.com/">Home</a> - loads fine.

 This can be very confusing, when you are browsing the theme preview, and
 you attempt to return to the hompage, only to be unable to do so.

 The issue is caused in the "wp-admin/customize.php" file. The array
 $allowed_urls includes the home_url with a trailing slash, but not
 without.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25315>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list