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

WordPress Trac noreply at wordpress.org
Thu Oct 31 18:31:53 UTC 2013


#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-patch   |
--------------------------+------------------------------

Comment (by deltafactory):

 The preceding patch makes two changes:

 1. It adds an ID to the `<base>` tag injected by the Customizer. It's a
 shortcut for the rest of the code but future customizer enhancements may
 find it useful as well.

 2. Injects an inline script in the footer that prepends all links that
 begin with # with the absolute URL of the Customizer.

 This has the benefit of restoring expected behavior of hash-links which
 had been broken in any way while the Customizer was in use.

 I'd prefer to avoid script injection but I think it was the easiest method
 to ensure remapping before jQuery's ready event fired. The mfields plugin
 test case showed proper behavior but I'm looking for more feedback about
 the approach and cross-browser testing.

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


More information about the wp-trac mailing list