[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:18:40 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):

 In the action hook, there's possible to add some more params, such as
 $plugin, $theme whether it is a plugin or theme being edited! as
 conditionally it theme being edited $plugin value is set to null, same
 goes for $theme variable.

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


More information about the wp-trac mailing list