[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
Sat Sep 23 18:56:47 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 Clorith):
Let's not only do an authenticated hit to the admin though, as a fatal
could be introduced in a template file which wouldn't be loaded until you
visit the front end.
We obviously can't guarantee we'll hit the file if it's a page template or
an archive template etc, but we can at least make sure the front page
still loads to mitigate some forms of breakage is my thinking.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21622#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list