Opened 11 years ago
Closed 11 years ago
#26487 closed defect (bug) (fixed)
Bulk Actions Not Working for Some Plugins
Reported by: | miqrogroove | Owned by: | johnbillion |
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | minor | Version: | 3.4.2 |
Component: | Plugins | Keywords: | has-patch commit 3.9-early |
Focuses: | Cc: |
Description
Steps to reproduce:
- Go to Installed Plugins.
- Deactivate all plugins.
- Use the select-all box (either one).
- Un-select the last plugin at the bottom of the list.
- Use the Bulk Actions drop down (either one).
- Select Activate.
- Click the Apply button.
Expected result:
- All but the last plugin should activate.
Actual result:
- The first plugin does not activate, in addition to the last plugin.
Tried:
- Different browsers, still broken.
- WordPress 3.7, works correctly.
Attachments (1)
Change History (14)
#3
@
11 years ago
- Keywords reporter-feedback added
- Milestone changed from 3.8 to Awaiting Review
I can't reproduce either.
#4
@
11 years ago
- Component changed from Administration to Plugins
- Severity changed from normal to minor
- Summary changed from RC1 Bulk Actions Not Working to Bulk Actions Not Working for Some Plugins
- Version changed from trunk to 3.7.1
Okay, more detail:
The plugin at the top of my Plugins list is Disable WordPress Core Updates v1.5 from http://wordpress.org/plugins/disable-wordpress-core-update/
My WordPress 3.7 test site still had v1.4 of the plugin. When I updated the plugin to v1.5, I was able to reproduce the silent failure for bulk activation. The single Activate link still works in all versions.
#5
follow-up:
↓ 7
@
11 years ago
I can reproduce this in Chrome 31 and Firefox 25 (Windows 7), but it's the 2nd plugin from the top that doesn't activate (Background Updates Tester). First plugin is Akismet.
#7
in reply to:
↑ 5
@
11 years ago
Replying to kpdesign:
I can reproduce this in Chrome 31 and Firefox 25 (Windows 7), but it's the 2nd plugin from the top that doesn't activate (Background Updates Tester). First plugin is Akismet.
I installed that and see the same thing. Both the Disable Updates and the Background Updates plugins stay deactivated during bulk activations.
#8
@
11 years ago
- Keywords has-patch commit added; reporter-feedback removed
- Milestone changed from Awaiting Review to Future Release
- Version changed from 3.7.1 to 3.4.2
This is caused by a Multisite-specific usecase applying to non-multisite.
At present the Bulk plugin activation process only activates plugins which are:
- Not activated already
- Not a Network-wide-only plugin
What it should actually do:
- Not activated already
- If Multisite, Not a Network-wide-only plugin (The code branch affected only runs in non-network-admin)
Single plugin activation follows a similar branch to the expected:
- If activated, stop
- If Multisite, and we're not in the network admin, and it's a network-wide-only plugin, stop.
Patch attached.
Could not reproduce in Firefox 25, Chrome 31, or Opera 12. Works as expected for me.