Plugin Directory

Changeset 1847829


Ignore:
Timestamp:
03/27/2018 03:50:19 PM (8 years ago)
Author:
cgrymala
Message:
Location:
plugin-activation-status/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • plugin-activation-status/trunk/README.md

    r1197076 r1847829  
    88**Requires at least:** 3.8
    99
    10 **Tested up to:** 4.3
     10**Tested up to:** 4.9.4
    1111
    12 **Stable tag:** 1.0.1
     12**Stable tag:** 1.0.2
    1313
    1414**License:** GPLv2 or later
     
    4949### Why don't I see the new Plugins -> Active Plugins menu item? ###
    5050
    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.
     51That 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.
    5252
    5353### Will this work on a non-multisite installation? ###
     
    7070
    7171## 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/))
    7278
    7379### 1.0 ###
  • plugin-activation-status/trunk/class-plugin-activation-status.php

    r1197076 r1847829  
    2929     */
    3030    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' ) )
    3232            return;
    3333       
     
    153153            if ( ! is_array( $v ) )
    154154                continue;
    155             if ( count( v ) <= 0 )
     155            if ( count( $v ) <= 0 )
    156156                continue;
    157157           
  • plugin-activation-status/trunk/plugin-activation-status.php

    r1197076 r1847829  
    33Plugin Name: Plugin Activation Status
    44Description: 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.1
     5Version: 1.0.2
    66Author: Curtiss Grymala
    77Author URI: http://www.umw.edu/
  • plugin-activation-status/trunk/readme.txt

    r1197076 r1847829  
    44Tags: plugins, multisite, multi-network, active, network-active, status
    55Requires at least: 3.8
    6 Tested up to: 4.3
    7 Stable tag: 1.0.1
     6Tested up to: 4.9.4
     7Stable tag: 1.0.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4141= Why don't I see the new Plugins -> Active Plugins menu item? =
    4242
    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.
     43That 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.
    4444
    4545= Will this work on a non-multisite installation? =
     
    5858
    5959== 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/))
    6066
    6167= 1.0 =
     
    7783== Upgrade Notice ==
    7884
     85= 1.0.2 =
     86Bug-fixes for PHP undefined constant/index warnings; begins adding compatibility with core multi-network functions
     87
    7988= 1.0 =
    8089This version adds the ability to deactivate any active plugins and delete any inactive plugins.
Note: See TracChangeset for help on using the changeset viewer.