[wp-meta] [Making WordPress.org] #1678: allow AJAX in theme preview

Making WordPress.org noreply at wordpress.org
Thu Feb 1 07:22:40 UTC 2018


#1678: allow AJAX in theme preview
---------------------------------------------------+----------------------
 Reporter:  progmastery                            |       Owner:
     Type:  defect                                 |      Status:  closed
 Priority:  normal                                 |   Milestone:
Component:  Theme Directory                        |  Resolution:  wontfix
 Keywords:  needs-patch ux-feedback needs-testing  |
---------------------------------------------------+----------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 The reason for why this doesn't work as expected is that the previewed
 theme isn't used for `wp-admin`. For security purposes, I don't think I'm
 comfortable changing that at present.

 It looks like the REST API works, so themes would probably be better using
 that regardless.

 Due to the small number of themes this probably breaks, and the fact that
 the previewer breaks themes in all sorts of ways, I'm marking this as a
 `wontfix`, although with the caveat that hopefully one day with a
 previewer rewrite we'll get a real preview environment for it.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1678#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list