Opened 2 years ago
Last modified 2 years ago
#16401 new enhancement
Add hook to delete_theme() on successful delete
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Themes | Version: | 3.0.4 |
| Severity: | normal | Keywords: | subversion has-patch |
| Cc: | scottconnerly, trac@… |
Description
Add an action or filter to the end of /wp-admin/includes/theme.php delete_theme()'s processing when the write is successful.
The use case is for managing a Wordpress install on an SVN-controlled server. Whenever the CMS changes a file or folder (particularly in the wp-content folder) I need to be able to trigger an svn commit.
See also Ticket # 16396
Attachments (1)
Change History (4)
comment:1
scottconnerly — 2 years ago
- Cc scottconnerly added
- Keywords subversion added
comment:2
in reply to:
↑ description
mikeschinkel — 2 years ago
ptahdunbar — 2 years ago
comment:3
ptahdunbar — 2 years ago
- Cc trac@… added
- Keywords has-patch added
ticket.16401.diff adds a new action 'deleted_theme' passing the $template variable as the first parameter.
Note: See
TracTickets for help on using
tickets.

Replying to scottconnerly:
+1