[wp-trac] [WordPress Trac] #27639: Install Themes: API call to api.wordpress.org fails under IE8/9 because of CORS

WordPress Trac noreply at wordpress.org
Fri Apr 4 00:47:08 UTC 2014


#27639: Install Themes: API call to api.wordpress.org fails under IE8/9 because of
CORS
--------------------------+--------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  3.9
Component:  Themes        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------

Comment (by nacin):

 As indicated in #27581 we can also go the JSONP route. The API now
 supports the following:
  * ?callback=
  * tag: to be comma-separated rather than an array, to save on length
  * fields: to be comma-separated rather than an array, to save on length
 (for this, it assumes all are `true`)

 I'd suggest that everything be consolidated in apiCall; other areas
 shouldn't need to know tags should be imploded; it makes it harder to
 manipulate.

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


More information about the wp-trac mailing list