Opened 15 years ago
Closed 15 years ago
#7613 closed defect (bug) (fixed)
Impossible to clear list of recently active plugins
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | high |
Severity: | normal | Version: | 2.7 |
Component: | Administration | Keywords: | has-patch commit |
Focuses: | Cc: |
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)
#1
@
15 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.
#3
@
15 years ago
- 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.
Note: See
TracTickets for help on using
tickets.
Patch for issue described.