Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#15940 closed defect (bug) (fixed)

Plugin deletion error

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

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 16 years ago.

Download all attachments as: .zip

Change History (6)

#1 @nacin
16 years ago

  • Milestone Awaiting Review → 3.1

#2 @scribu
16 years ago

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

#3 @dd32
16 years ago

Patch looks good to me

#4 @scribu
16 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
16 years ago

  • Resolution → fixed
  • Status new → closed

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

Note: See TracTickets for help on using tickets.