Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#1709 closed defect (bug) (fixed)

Check for missing plugin files removes activating/deactivating plugin instead of the missing plugin

Reported by: michaelmoore's profile michaelmoore Owned by: ryan's profile ryan
Milestone: Priority: high
Severity: major Version: 1.2.2
Component: Administration Keywords:
Focuses: Cc:

Description

It appears that an erroneous usage of "$_GETplugin?" instead of the appropriate foreach loop variable in wp-admin/plugins.php removes the incorrect item from the active_plugins option. A simple patch should be attached. Review is needed, since I'm not much of a PHP programmer.

Attachments (1)

plugin_missing_bug.patch (580 bytes) - added by michaelmoore 20 years ago.
Possible fix for improper plugin removal

Download all attachments as: .zip

Change History (3)

@michaelmoore
20 years ago

Possible fix for improper plugin removal

#1 @ryan
20 years ago

  • Owner changed from anonymous to ryan

#2 @ryan
20 years ago

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

(In [2932]) Actually remove deleted plugins from the active plugin list. This has been broken for ever. fixes #1709

Note: See TracTickets for help on using tickets.