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

WordPress Trac noreply at wordpress.org
Fri Sep 13 18:59:47 UTC 2013


#25315: Theme Customizer preview wont load home URL
--------------------------+------------------------------
 Reporter:  stri8ed       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Appearance    |     Version:  3.6.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Some more testing: the URL is set in `api.Preview` (line 34):
 [source:tags/3.6.1/wp-includes/js/customize-preview.js#L20].

 Unlike `$(this).attr('href')`, `$(this).prop('href')` always returns the
 home URL with a trailing slash.

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


More information about the wp-trac mailing list