[wp-trac] [WordPress Trac] #23225: Customizer is Incompatible with jQuery UI Tabs.

WordPress Trac noreply at wordpress.org
Tue Jan 21 16:25:47 UTC 2014


#23225: Customizer is Incompatible with jQuery UI Tabs.
-------------------------------------+------------------------------
 Reporter:  mfields                  |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Appearance               |     Version:  3.4
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |
-------------------------------------+------------------------------

Comment (by deltafactory):

 @helen, the patch works by tricking jQuery UI's isLocal() function into
 thinking that a # link is local by matching the domain of the hash URL to
 the page's. So it should work anywhere that the domain for the Customizer
 (derived from `admin_url()`?) is the same as `home_url()`.

 I believe it will break regular hash URLs, though no more than the initial
 use of the `<base>` tag.

 I don't recall the exact code, but if there's another way to determine the
 interior page's URL then I'd be happy to use that. Between the method used
 by the Customizer to inject the HTML into the iframe, and cross-frame
 security, there may be limitations though I'd have to take a closer look.

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


More information about the wp-trac mailing list