Opened 5 years ago
Closed 5 years ago
#7613 closed defect (bug) (fixed)
Impossible to clear list of recently active plugins
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | 2.7 |
| Component: | Administration | Version: | 2.7 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | caesarsgrunt |
Description
It is no longer possible to clear the list of recently active plugins, in WP2.7-haemorrhage (trunk). This is caused by the new 'Actions' dropdown (which I don't like, BTW, though I understand the reasons for it) overriding the previously-set $action variable.
Patch attached.
Attachments (2)
Change History (8)
caesarsgrunt — 5 years ago
comment:1
caesarsgrunt — 5 years ago
This won't work if the value of $_REQUESTaction? is ever 0, '0', or an array - but I don't think it ever is.
comment:2
caesarsgrunt — 5 years ago
Ooops. I hate automatic linking.
That should have been $_REQUEST['action'].
- Keywords needs-patch added; has-patch removed
This will cause a notice if $_REQUEST['action'] doesn't exist. The isset check is there to ensure that the key index exists before checking. The correct patch will add the !empty() check after the isset() check.
comment:4
caesarsgrunt — 5 years ago
- Keywords has-patch added; needs-patch removed
Yes, of course. Sorry about that. This should be OK, I think.

Patch for issue described.