Ticket #8678 (closed task (blessed): fixed)

Opened 3 years ago

Last modified 2 years ago

Allow deletion of themes from web interface

Reported by: DD32 Owned by:
Priority: normal Milestone: 2.8
Component: Themes Version: 2.8
Severity: normal Keywords:
Cc: jidanni@…

Description

In addition to allowing theme install from the administration area(#8652), It'll probably be a good idea to allow themes to be deleted from the themes page as well.

This would also allow users to get rid of any themes they no longer require the use of which is 1 downside mentioned of #8661(give themes a update bubble like plugins)

Of course, It'd need to ensure that a parent theme is not deleted (Or rather, A Parent theme is warned about before being deleted).

Setting to 2.8 for now.

Change History

comment:1   ryan3 years ago

  • Type changed from feature request to task (blessed)
  • Cc jidanni@… added

I deleted the two default plugins, but could not delete the two default themes as there was no button to do so. (I made my own theme.)

By the way, I notice my deleting plugins deleted their

-(103, 0, 'update_plugins', 'O:8:"stdClass":3:{s:12:"last_checked";i:1235077058;s:7:"checked";a:2:{s:19:"akismet/akismet.php";s:5:"2.2.3";s:9:"hello.php";s:3:"1.5";}s:8:"response";a:0:{}}', 'yes'),

line in the database, revealing that checking for updates is done even if they have never been installed! Please report this bug for me if true.

Apparenty themes don't have the same problem.

(I wonder if some HTTP request is generated by cron anyway, even if there are no plugins to check.)

Yes, I will be reading up on  http://wordpress.org/extend/plugins/core-control/ to disable a lot of this...

comment:3   ryan3 years ago

(In [10714]) Add theme delete link. Stub action. see #8678

comment:4   ryan3 years ago

(In [10715]) delete_theme(). see #8678

comment:5   ryan3 years ago

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.