[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
Thu Oct 5 02:49:50 UTC 2017


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

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 @westonruter seems like `wp_ajax_edit_theme_plugin_file` should have a
 nonce and user_can capabilities check? Am I missing something?

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


More information about the wp-trac mailing list