[wp-trac] [WordPress Trac] #21622: Validate or sandbox theme file edits before saving them (as is done for plugins)

WordPress Trac noreply at wordpress.org
Tue Oct 3 17:00:39 UTC 2017


#21622: Validate or sandbox theme file edits before saving them (as is done for
plugins)
-------------------------------------+-----------------------------
 Reporter:  eschwartz93              |       Owner:  westonruter
     Type:  enhancement              |      Status:  accepted
 Priority:  high                     |   Milestone:  4.9
Component:  Themes                   |     Version:  2.7.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  administration
-------------------------------------+-----------------------------

Comment (by johnbillion):

 The no-JS issue isn't about browsers not supporting JS, or users disabling
 JS, it's about basic functionality being able to work when JS has
 uncontrollably broken. Functionality provided by the Customizer is
 available elsewhere without JS, and the basic post editor still works
 without JS.

 Particularly for the file editors, if a user introduces a syntax error in
 a JS file while editing it, it may cause them to be unable to use the file
 editor to correct it if it breaks the file editing screen. The basic
 functionality that exists currently (without error checking) should be
 retained for use in cases where JS is broken.

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


More information about the wp-trac mailing list