Opened 13 years ago
Closed 13 years ago
#25470 closed defect (bug) (fixed)
Leftover code in Plugin_Upgrader and Plugin_Upgrader_Skin classes
| Reported by: | jdgrimes | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.8 |
| Component: | Upgrade/Install | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
There is some code in the Plugin_Upgrader and Plugin_Upgrader_Skin classes that is no longer used, and wasn't cleaned out when Bulk_Plugin_Upgrader_Skin was introduced in [13602].
Plugin_Upgrader::$show_before is no longer used, and so Plugin_Upgrader_Skin::before() doesn't actually do anything.
Attachments (1)
Change History (3)
#1
@
13 years ago
- Milestone Awaiting Review → 3.8
This could potentially be a issue for any plugins who are re-using the Plugin_Upgrader_Skin class with their own WP_Upgrader instance.
Most users would probably need their own skin, or can't really use this parameter without overwriting ::after() either, so that might not be an actual issue.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Removes the unused code