[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
Sun Sep 24 11:42:32 UTC 2017


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

Comment (by azaozz):

 Replying to [comment:18 Clorith]:

 Right, as per my previous comment:
 > it will have to be repeated simulating a front-end request (can be
 without credentials)

 It could also be possible to load a specific template file after it was
 edited. Will probably need to do some sort of a "dry run" through the
 template hierarchy to determine which file(s) are used in which cases.

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


More information about the wp-trac mailing list