[wp-trac] [WordPress Trac] #32666: QUnit tests notice

WordPress Trac noreply at wordpress.org
Mon Jul 6 23:05:05 UTC 2015


#32666: QUnit tests notice
--------------------------+--------------------------
 Reporter:  netweb        |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.3
Component:  Customize     |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------
Changes (by westonruter):

 * keywords:  needs-patch => has-patch


Comment:

 OK, I have one approach in [attachment:32666.diff]. The issue is that the
 `customize-settings.js` fixture uses `example.org` in the
 `wp.customize.settings.url` settings. The Customizer is trying to load the
 content for the Customizer Preview. So the quick solution is to just
 cancel the Ajax request entirely. This eliminates the XHR warning.
 Thoughts?

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


More information about the wp-trac mailing list