WordPress.org

Ready to get started?Download WordPress

Forums

Plugin Dependencies
Dependent plugins can still be activated with "Bulk Actions" (2 posts)

  1. r-a-y
    Member
    Posted 2 years ago #

    Nice plugin, scribu!

    I found a bug though. Let's say I have a dependent plugin that looks like this:

    /*
    Plugin Name: Cool BuddyPress Plugin
    Depends: BuddyPress
    */

    If BuddyPress isn't activated, I can still activate Cool BuddyPress Plugin by using the "Activate" option under the "Bulk Actions" dropdown menu.

    A quick solution could involve hiding the checkbox for plugins that do not meet the criteria.

  2. scribu
    Member
    Plugin Author

    Posted 2 years ago #

    Yeah, except you might want to bulk-delete plugins using those checkboxes.

    The correct solution would be to intercept the bulk-activate handling somehow.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.