[wp-trac] [WordPress Trac] #30638: Missing dataType in Customizer Widgets

WordPress Trac noreply at wordpress.org
Sat Dec 13 03:38:43 UTC 2014


#30638: Missing dataType in Customizer Widgets
-------------------------------+------------------------------
 Reporter:  iseqqavoq          |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Customize          |     Version:  4.0.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  javascript
-------------------------------+------------------------------

Comment (by westonruter):

 Also, more importantly, what plugins do you have activated? Is a plugin
 overriding jQuery with an old version? The jQuery docs on `dataType` show:

 > The type of data that you're expecting back from the server. If none is
 specified, jQuery will try to infer it based on the MIME type of the
 response (an XML MIME type will yield XML, in 1.4 JSON will yield a
 JavaScript object, in 1.4 script will execute the script, and anything
 else will be returned as a string).

 So if a plugin is forcing a version of jQuery prior to 1.4 then this could
 be the problem. And the plugin would be doing a bad thing.

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


More information about the wp-trac mailing list