Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Do these get a count in their “Plugin Active Installs” for each subsite

    Nope. Just one. If they only check for an update once, then it counts one.

    its stating that there are less than 10 installs, however, there are currently 27 5-star reviews

    Anybody can leave a review. That’s not connected to this count at all.

    When would the “Plugin Active Installs” get triggered in this plugins case

    When a site checks for an update and it says it is running that plugin. “Fewer than 10” means exactly what it says. In point of fact, we’ve had no sites report on that plugin being used for about 3 months now, since early November.

    I’m guessing that he probably broke something. This switch to using the apply_filters_deprecated function seems incorrect to me: https://plugins.trac.www.ads-software.com/changeset/2189879/network-subsite-user-registration

    Thread Starter Justin Fletcher

    (@justinticktock)

    Thanks for the explanation.

    NB ..The apply_filters_deprecated function isn’t failing on any site I see.. its actually following WP Trunk so unless WP Trunk has it wrong all is well.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    The apply_filters_deprecated function isn’t designed to fail, it’s designed to throw an error when you’re in debug mode.

    Basically, apply_filters_deprecated is used by core to flag the use of a filter as deprecated so that developers stop using it. It indicates a filter that may be removed in the future, thus the use of the word “deprecated”.

    If you want to apply a filter, then you just apply_filters. If you want to apply a filter and indicate that it will be removed by throwing an error into the debug system, then you use apply_filters_deprecated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin Active Installs – how is it calculated – on Network Activated Plugins’ is closed to new replies.