Changeset 1847829
- Timestamp:
- 03/27/2018 03:50:19 PM (8 years ago)
- Location:
- plugin-activation-status/trunk
- Files:
-
- 1 added
- 4 edited
-
.gitignore (added)
-
README.md (modified) (3 diffs)
-
class-plugin-activation-status.php (modified) (2 diffs)
-
plugin-activation-status.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugin-activation-status/trunk/README.md
r1197076 r1847829 8 8 **Requires at least:** 3.8 9 9 10 **Tested up to:** 4. 310 **Tested up to:** 4.9.4 11 11 12 **Stable tag:** 1.0. 112 **Stable tag:** 1.0.2 13 13 14 14 **License:** GPLv2 or later … … 49 49 ### Why don't I see the new Plugins -> Active Plugins menu item? ### 50 50 51 That menu item will only appear in the Network Admin area for the network with an ID of 1. If you are running a multi-network installation and you activated the plugin on a network other than the first, you won't see that menu item.51 That menu item will only appear in the Network Admin area for the primary (root/main) network. If you are running a multi-network installation and you activated the plugin on a network other than the first, you won't see that menu item. 52 52 53 53 ### Will this work on a non-multisite installation? ### … … 70 70 71 71 ## Changelog ## 72 73 ### 1.0.2 ### 74 * Tested compatibility with WordPress 4.9.x 75 * Fixes undefined constant warning as pointed out by [@chenryahts](https://wordpress.org/support/topic/use-of-undefined-constant-missing-character/) 76 * Fixes undefined index warning as pointed out by [@cliffpaulick](https://wordpress.org/support/topic/wp_debug-php-notice-undefined-index-site_id/) 77 * Begins adding compatibility with core implementation of multi-network (uses the [`is_main_network()` function](https://developer.wordpress.org/reference/functions/is_main_network/)) 72 78 73 79 ### 1.0 ### -
plugin-activation-status/trunk/class-plugin-activation-status.php
r1197076 r1847829 29 29 */ 30 30 function __construct() { 31 if ( ! is_multisite() || 1 !== intval( $GLOBALS['site_id']) || ! current_user_can( 'delete_plugins' ) )31 if ( ! is_multisite() || ! is_main_network() || ! current_user_can( 'delete_plugins' ) ) 32 32 return; 33 33 … … 153 153 if ( ! is_array( $v ) ) 154 154 continue; 155 if ( count( v ) <= 0 )155 if ( count( $v ) <= 0 ) 156 156 continue; 157 157 -
plugin-activation-status/trunk/plugin-activation-status.php
r1197076 r1847829 3 3 Plugin Name: Plugin Activation Status 4 4 Description: This plugin scans an entire WordPress multisite or multi-network installation and identifies which plugins are active (and where they're active) and which plugins are not activated anywhere in the install 5 Version: 1.0. 15 Version: 1.0.2 6 6 Author: Curtiss Grymala 7 7 Author URI: http://www.umw.edu/ -
plugin-activation-status/trunk/readme.txt
r1197076 r1847829 4 4 Tags: plugins, multisite, multi-network, active, network-active, status 5 5 Requires at least: 3.8 6 Tested up to: 4. 37 Stable tag: 1.0. 16 Tested up to: 4.9.4 7 Stable tag: 1.0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 = Why don't I see the new Plugins -> Active Plugins menu item? = 42 42 43 That menu item will only appear in the Network Admin area for the network with an ID of 1. If you are running a multi-network installation and you activated the plugin on a network other than the first, you won't see that menu item.43 That menu item will only appear in the Network Admin area for the primary (root/main) network. If you are running a multi-network installation and you activated the plugin on a network other than the first, you won't see that menu item. 44 44 45 45 = Will this work on a non-multisite installation? = … … 58 58 59 59 == Changelog == 60 61 = 1.0.2 = 62 * Tested compatibility with WordPress 4.9.x 63 * Fixes undefined constant warning as pointed out by [@chenryahts](https://wordpress.org/support/topic/use-of-undefined-constant-missing-character/) 64 * Fixes undefined index warning as pointed out by [@cliffpaulick](https://wordpress.org/support/topic/wp_debug-php-notice-undefined-index-site_id/) 65 * Begins adding compatibility with core implementation of multi-network (uses the [`is_main_network()` function](https://developer.wordpress.org/reference/functions/is_main_network/)) 60 66 61 67 = 1.0 = … … 77 83 == Upgrade Notice == 78 84 85 = 1.0.2 = 86 Bug-fixes for PHP undefined constant/index warnings; begins adding compatibility with core multi-network functions 87 79 88 = 1.0 = 80 89 This version adds the ability to deactivate any active plugins and delete any inactive plugins.
Note: See TracChangeset
for help on using the changeset viewer.