Opened 11 years ago
Closed 11 years ago
#29088 closed defect (bug) (fixed)
Plugin_Upgrader::deactivate_plugin_before_upgrade() is hooked to a filter, but doesn't always return a value
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.1 | Priority: | normal |
| Severity: | normal | Version: | 2.8 |
| Component: | Upgrade/Install | Keywords: | needs-docs |
| Focuses: | Cc: |
Description
Plugin_Upgrader::deactivate_plugin_before_upgrade() is hooked to the 'upgrader_pre_install' filter by Plugin_Upgrader::upgrade(), but it doesn't always return a value. This still works because the result of the filter is only checked with is_wp_error() (in WP_Upgrader::install_package()). However, it could certainly cause bugs for other functions hooked to that filter.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
In 30761: