[wp-trac] [WordPress Trac] #56301: Add File Backup Feature in wp_edit_theme_plugin_file()

WordPress Trac noreply at wordpress.org
Thu Jul 28 22:23:00 UTC 2022


#56301: Add File Backup Feature in wp_edit_theme_plugin_file()
-----------------------------+-----------------------------
 Reporter:  sajjad67         |      Owner:  sajjad67
     Type:  feature request  |     Status:  assigned
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Filesystem API   |    Version:  6.0
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 I thought about the security before creating this ticket, but still let's
 discuss about the possibility of it for once! The way it works now is if
 you edit a file using the plugin/theme-editor.php, there's no way of going
 back! It only checks for any Fatal Error!

 Now what i think, would it be good/bad if we add a feature to create a
 (temp) backup of each file edited, like we do for posts/pages as
 revisions! There's lots to take into consideration before we discuss about
 it, i know! But is there anyone else thinking like me this could be a
 feature!!

 Let me know if it's open for any further discussion!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56301>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list