[wp-trac] [WordPress Trac] #29580: When a child-theme is active, the parent-theme should not be deletable.

WordPress Trac noreply at wordpress.org
Tue Sep 9 12:23:34 UTC 2014


#29580: When a child-theme is active, the parent-theme should not be deletable.
-------------------------------------+------------------------------
 Reporter:  ounziw                   |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Themes                   |     Version:  4.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------
Changes (by karpstrucking):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 ignore my previous comment. I took a closer look at `delete_plugin` and
 the check for active plugins isn't there after all - it's in `wp-
 admin/plugins.php`.

 in the case of a theme with an active child, the delete link is removed
 and the plugin deletion is blocked.

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


More information about the wp-trac mailing list