Make WordPress Core

Opened 7 years ago

Last modified 2 years ago

#41001 new defect (bug)

Recently Active Plugins Option does not reset when you delete a plugin.

Reported by: geekstreetwp's profile GeekStreetWP Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: Plugins Keywords: needs-refresh 2nd-opinion dev-feedback close
Focuses: Cc:

Description

When you deactivate a plugin like Akismet, a value gets saved into "wp_options" under the option name "recently_activated".

The value looks like:
a:1:{s:19:"akismet/akismet.php";i:1497201452;}

When you reactivate Akismet, the value is updated and resets the option back to look like this:
a:0:{}

The Bug.

When you deactivate Akismet and delete akismet, the "recently_activated" option keeps this in the option value.
a:1:{s:19:"akismet/akismet.php";i:1497201452;} when it should reset back to a:0:{}

Change History (2)

#1 @azouamauriac
2 years ago

  • Keywords needs-refresh 2nd-opinion dev-feedback added

Hello @GeekStreetWP and wellcome to trac, thank you for your report, I'm able to reproduce the 'issue' but I'm asking myself if it's a real issue, since after deletion, when you reinstall the plugin, it's appear to "recently_activated"'s tab, so if we reset back this option I'm fearful that this feature won't be available.

let's ask a second opinion if needed.

Last edited 2 years ago by azouamauriac (previous) (diff)

#2 @azouamauriac
2 years ago

  • Keywords close added
Note: See TracTickets for help on using tickets.