Comments on: Checking Plugin Activation Status on Multisite Networks https://webdevstudios.com/2015/01/22/checking-plugin-activation-status-on-wordpress-multisite-networks/ WordPress Design and Development Agency Mon, 15 Apr 2024 16:05:04 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: Jenny https://webdevstudios.com/2015/01/22/checking-plugin-activation-status-on-wordpress-multisite-networks/#comment-100406 Tue, 15 Dec 2020 11:55:48 +0000 http://webdevstudios.com/?p=8852#comment-100406 So great, just what I needed!

]]>
By: Michael Beckwith https://webdevstudios.com/2015/01/22/checking-plugin-activation-status-on-wordpress-multisite-networks/#comment-99275 Wed, 25 Nov 2020 20:06:16 +0000 http://webdevstudios.com/?p=8852#comment-99275 In reply to Duke.

Hi Duke,

No present plans to push up to WordPress.org but it’s definitely something we could consider in the future. I would also want to do a spot check on the code and compatibility before do that too, to make sure it’s top notch.

Regarding the views available, probably some room for consolidation as well. If I were tasked up to clean this up now, I’d probably ditch the simple view and explore consolidation into 1 view as well. However, we need to consider others who may have it installed and suddenly get a notification of an update.

]]>
By: Duke https://webdevstudios.com/2015/01/22/checking-plugin-activation-status-on-wordpress-multisite-networks/#comment-99259 Tue, 24 Nov 2020 22:07:58 +0000 http://webdevstudios.com/?p=8852#comment-99259 Thank you! Was looking exactly for this! Will you publish it in the WP plugin repo too?
Small suggestion, if I may: instead of having 3 views, why not using the Site one, with just an extra icon at the end, in case of Network Activated?

]]>
By: Stephen https://webdevstudios.com/2015/01/22/checking-plugin-activation-status-on-wordpress-multisite-networks/#comment-89320 Wed, 25 Mar 2020 04:03:16 +0000 http://webdevstudios.com/?p=8852#comment-89320 Hey, thanks for the nifty plugin.

May your bloat be cut and your sites be forever speedy.

]]>
By: Rich https://webdevstudios.com/2015/01/22/checking-plugin-activation-status-on-wordpress-multisite-networks/#comment-10747 Thu, 31 Aug 2017 07:55:41 +0000 http://webdevstudios.com/?p=8852#comment-10747 In reply to Michael Beckwith.

I changed it back to get_sites( array( ‘deleted’ => ‘false’, ‘number’ => 1500, ) );

I still just get the top row of the table and no plugin data, our dev is going to look at it when he gets a chance, but thanks for the pointers.

]]>
By: Michael Beckwith https://webdevstudios.com/2015/01/22/checking-plugin-activation-status-on-wordpress-multisite-networks/#comment-10700 Wed, 30 Aug 2017 19:02:57 +0000 http://webdevstudios.com/?p=8852#comment-10700 In reply to Rich.

Just saying, you’d want to change the code to read as follows exactly, so that it passes the number value as an integer, and not a string.

$this->sites = get_sites( array( ‘deleted’ => false, ‘number’ => 1500 ) );

]]>
By: Rich https://webdevstudios.com/2015/01/22/checking-plugin-activation-status-on-wordpress-multisite-networks/#comment-10687 Wed, 30 Aug 2017 15:24:52 +0000 http://webdevstudios.com/?p=8852#comment-10687 In reply to Michael Beckwith.

The only way I could get any of it to work was to change the apostrophes to quotes!

I only did it because of the examples here: http://php.net/manual/en/language.types.array.php

]]>
By: Michael Beckwith https://webdevstudios.com/2015/01/22/checking-plugin-activation-status-on-wordpress-multisite-networks/#comment-10686 Wed, 30 Aug 2017 15:20:38 +0000 http://webdevstudios.com/?p=8852#comment-10686 In reply to Rich.

Have you always been doing the number value in quotes? Or were either of your attempts without? I’m curious if the function isn’t liking the number being passed as a string.

]]>
By: Rich https://webdevstudios.com/2015/01/22/checking-plugin-activation-status-on-wordpress-multisite-networks/#comment-10685 Wed, 30 Aug 2017 15:09:06 +0000 http://webdevstudios.com/?p=8852#comment-10685 In reply to Michael Beckwith.

No worries, I’m half way there!

I tried: get_sites( array( “deleted” => “false”, “number” => “1500”, ) );

However, this only populates the “Plugin Name / Site ID” row with site IDs and not the rows underneath with the plugin active/not active data!

Any other ideas? I’m not a coder but I’ll keep hacking away…

]]>
By: Michael Beckwith https://webdevstudios.com/2015/01/22/checking-plugin-activation-status-on-wordpress-multisite-networks/#comment-10684 Wed, 30 Aug 2017 14:32:28 +0000 http://webdevstudios.com/?p=8852#comment-10684 In reply to Rich.

Not sure then. I admittedly don’t presently have a local install that large so I’d need to set one up to do any testing. Otherwise, I’d probably just inspect the function guts for get_sites() and mentally trace my way through. Logically, that function is going to be the source of the limit, at this point.

]]>