Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#15940 closed defect (bug) (fixed)

Plugin deletion error

Reported by: phill_brown's profile phill_brown Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: Plugins Keywords: has-patch commit
Focuses: Cc:

Description (last modified by scribu)

I'm getting this error after deleting plugins:

Could not fully remove the plugin(s) Array.

An extra, 'checked', input field is added the form on the confirmation page. The bug stems from line 237 in /wp-admin/plugins.php, where plugin file data is added to the $plugins array.

In 3.0 a temporary variable was used which was then changed in r15491. Switching back to using a separate variable appears to fix the problem?

Attachments (1)

plugins.patch (829 bytes) - added by phill_brown 14 years ago.

Download all attachments as: .zip

Change History (6)

#1 @nacin
14 years ago

  • Milestone changed from Awaiting Review to 3.1

#2 @scribu
14 years ago

  • Description modified (diff)
  • Keywords has-patch added

#3 @dd32
14 years ago

Patch looks good to me

#4 @scribu
14 years ago

  • Keywords commit added

I guess I did that thinking that $plugins['folder'] would be used later on. Looks good to me too.

#5 @nacin
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [17106]) Use a separate variable to fix plugin deletion. props phill_brown, fixes #15940.

Note: See TracTickets for help on using tickets.