#37598 closed defect (bug) (fixed)
Fix plugin/theme delete/install success hook inconsistency
| Reported by: | olarmarius | Owned by: | jorbin |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.6 |
| Component: | Themes | Version: | 4.6 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | javascript, administration |
Description
The delete hook name for plugin deletion is "wp-plugin-delete-success" and for theme "wp-delete-theme-success". We need to resolve this inconsistency.
A) wp-delete-plugin-success & wp-delete-theme-success
B) wp-plugin-delete-success & wp-theme-delete-success
wp-plugin-delete-success
https://core.trac.wordpress.org/browser/trunk/src/wp-admin/js/updates.js?rev=38199&marks=821&1246#L819
wp-delete-theme-success
https://core.trac.wordpress.org/browser/trunk/src/wp-admin/js/updates.js?rev=38199&marks=821&1246#L1246
Attachments (4)
Change History (14)
#2
follow-up:
↓ 3
@
10 years ago
- Component Administration → Themes
- Keywords has-patch added
It should be B), see 37598.patch.
#3
in reply to: ↑ 2
;
follow-up:
↓ 4
@
10 years ago
Replying to ocean90:
It should be A), see 37598.patch.
But it's A see https://core.trac.wordpress.org/attachment/ticket/37598/updates.js.37598.diff
#5
@
10 years ago
- Keywords commit added
- Summary Fix plugin/theme delete success hook inconsistency → Fix plugin/theme delete/install success hook inconsistency
As pointed out by @olarmarius, the install actions are also inconsistent.
37598.2.patch combines 37598-install.patch and 37598.patch.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Introduced in [37714].