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

WordPress Trac noreply at wordpress.org
Fri Jul 29 16:02:53 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:
 Severity:  normal           |  Resolution:
 Keywords:  2nd-opinion      |     Focuses:
-----------------------------+------------------------------

Comment (by sajjad67):

 @audrasjb I am not sure how to propose that in a Feature Plugin... Never
 done that! But a hook is best option to in the function with filename,
 previous_content, new_content params.

 LMK how we can go ahead with that!

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


More information about the wp-trac mailing list