[wp-trac] [WordPress Trac] #53351: Delete Theme Files in Database When Using Delete Option

WordPress Trac noreply at wordpress.org
Tue Jun 8 12:34:45 UTC 2021


#53351: Delete Theme Files in Database When Using Delete Option
-------------------------------+------------------------------
 Reporter:  deborah86          |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Themes             |     Version:  5.7.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by deborah86):

 @SergeyBiryukov

 I am referring to the entries stored in the database.

 Steps to Replicate

 1.  Install a brand new version of WordPress
 2.  Activate the Twenty Twenty theme
 3.  Make changes to the theme in the customizer such as the color
 4.  Activate the Twenty Twenty One Theme
 5.  Delete the Twenty Twenty theme
 6.  Reinstall the Twenty Twenty theme

 If you reinstall the theme, you will notice the settings you edited are
 present.  The theme is not freshly installed without the saved settings.
 According to the theme team, this is working as intended.

 In order to get a fresh install of the theme, a plugin has to be installed
 to delete the theme_modes_twentytwenty option in the site's database.

 See the response here:
 [https://core.trac.wordpress.org/ticket/53147#comment:12]

 I am requesting the entire theme deletes without the use of a third-party
 plugin.

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


More information about the wp-trac mailing list