WordPress.org

Ready to get started?Download WordPress

Forums

Plugin Dependencies
Satisfied vs. Network Unsatisfied (1 post)

  1. boxcarpress
    Member
    Posted 1 year ago #

    This may relate to the other question about network activation, but from what I can tell on multisite no dependency is every shown as being "satisfied."

    That is, in the plugin_action_links() function, the $active_plugins and $network_active_plugins arrays are mutually exclusive. An item will never be in both. If it's not in $active_plugins the dependency is then tagged "unsatisfied." If the dependency is not in $network_active_plugins then it's marked as "unsatisfied_network." I should also mention that you also need to array_flip() the $network_active_plugins before you array_intersect() with the dependencies.

    I would be happy to commit a fix for this if you posted a Github repo. But it would also help to understand conceptually what "unsatisfied network" means. It seems like what you should be keeping track of us "satisfied network", "satisfied", and "unsatisfied."

    http://wordpress.org/plugins/plugin-dependencies/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.