Title: [Plugin: Network Plugin Auditor] Small error
Last modified: August 20, 2016

---

# [Plugin: Network Plugin Auditor] Small error

 *  Resolved [Gabriel Reguly](https://wordpress.org/support/users/gabriel-reguly/)
 * (@gabriel-reguly)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-network-plugin-auditor-small-error/)
 * Hi,
 * Thanks for the wonderful plugin.
 * I have found and fixed a small error: because code does not check if the current
   column is the custom column added, the plugin displays it’s info at every custom
   column that may exist.
 * Follows fix for functions _manage\_plugins\_custom\_column_ and _manage\_sites\
   _custom\_column_:
 *     ```
       function manage_plugins_custom_column( $column_name, $plugin_file, $plugin_data ) {
       		if ( $column_name == 'active_blogs' ) {
   
       			$output = '<ul>';
   
       			// Is this plugin network activated
       			$active_on_network = is_plugin_active_for_network( $plugin_file );
       			if ( $active_on_network ) {
       				$output .= '<li>Network Activated</li>';
       			}
   
       			// Is this plugin Active on any blogs in this network?
       			$active_on_blogs = $this->is_plugin_active_on_blogs( $plugin_file );
   
       			// Loop through the blog list, gather details and append them to the output string
       			foreach ( $active_on_blogs as $blog ) {
   
       				$blog_details = get_blog_details( $blog, true );
   
       				$blog_url  = $blog_details->siteurl;
       				$blog_name = $blog_details->blogname;
   
       				$output .= '<li><nobr><a title="Manage plugins on '.$blog_name.'" href="'.$blog_url.'/wp-admin/plugins.php">' . $blog_name . '</a></nobr></li>';
       			}
   
       			$output .= '</ul>';
       			echo $output;
       		}
           }
       ```
   
 *     ```
       function manage_sites_custom_column( $column_name, $blog_id ) {
       		if ( $column_name == 'active_plugins' ) {
       			$output = '<ul>';
       			// Get the active plugins for this blog_id
       			$plugins_active_here = $this->get_active_plugins( $blog_id );
       			$plugins_active_here = maybe_unserialize( $plugins_active_here );
   
       			foreach ( $plugins_active_here as $plugin ) {
       				$plugin_data = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin );
       				$plugin_name = $plugin_data['Name'];
       				$plugin_url  = $plugin_data['PluginURI'];
   
       				if ( isset($plugin_url) ) {
       					$output .= '<li><a href="' . $plugin_url . '" title="Visit the plugin url: ' . $plugin_url . '">' . $plugin_name . '</a></li>';
   
       				} else {
       					$output .= '<li>' . $plugin_name . '</li>';
       				}
       			}
       			$output .= '</ul>';
       			echo $output;
       		}
           }
       ```
   
 * Regards,
    Gabriel
 * [http://wordpress.org/extend/plugins/network-plugin-auditor/](http://wordpress.org/extend/plugins/network-plugin-auditor/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Katherine Semel-Munson](https://wordpress.org/support/users/ksemel/)
 * (@ksemel)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-network-plugin-auditor-small-error/#post-2622789)
 * Excellent catch! Thank you, I’ll put in a bug fix right away.
 * – Kathy
 *  Thread Starter [Gabriel Reguly](https://wordpress.org/support/users/gabriel-reguly/)
 * (@gabriel-reguly)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-network-plugin-auditor-small-error/#post-2622831)
 * Just for the record, the plugin author accepted the bug fix and released a new
   version.
 * Thank you Kathy for the prompt action.
 *  Plugin Author [Katherine Semel-Munson](https://wordpress.org/support/users/ksemel/)
 * (@ksemel)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-network-plugin-auditor-small-error/#post-2622850)
 * I could have sworn I replied here last night, but it seems not. 🙁
 * Thanks for the great catch, Gabriel! I gave you a shout-out in my change log.
   🙂
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-network-plugin-auditor-small-error/#post-2622851)
 * Sorry, you got caught by our spam catcher, ksemel.
 *  Thread Starter [Gabriel Reguly](https://wordpress.org/support/users/gabriel-reguly/)
 * (@gabriel-reguly)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-network-plugin-auditor-small-error/#post-2622852)
 * Thanks Ipstenu,
 * I was wondering why I kept receiving ksmel’s messages but they were not showing
   here.
 *  Thread Starter [Gabriel Reguly](https://wordpress.org/support/users/gabriel-reguly/)
 * (@gabriel-reguly)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-network-plugin-auditor-small-error/#post-2622853)
 * … and thank you Kathy for the shout-out, I have seen it when updating the plugin
   🙂
 *  [mediacolours786](https://wordpress.org/support/users/mediacolours786/)
 * (@mediacolours786)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-network-plugin-auditor-small-error/#post-2622932)
 * Hi i have a small problem
 * can any one tell me how to edit the New Subscriber notification message text
 * suppose:
 * this the subject: A contact has joined your mailing list, which i want to change.
 * and i even want to add the Subscriber IP address and Country Name also in the
   email.
 * can any one please tell me how to do it.
 * thanks
 * Mahendra
 *  Plugin Author [Katherine Semel-Munson](https://wordpress.org/support/users/ksemel/)
 * (@ksemel)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-network-plugin-auditor-small-error/#post-2622934)
 * [@mediacolours786](https://wordpress.org/support/users/mediacolours786/) I think
   you’re looking for a different plugin’s forum. The Network Plugin Auditor doesn’t
   have any associated emails. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘[Plugin: Network Plugin Auditor] Small error’ is closed to new replies.

 * ![](https://ps.w.org/network-plugin-auditor/assets/icon-256x256.png?rev=985311)
 * [Network Plugin Auditor](https://wordpress.org/plugins/network-plugin-auditor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/network-plugin-auditor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/network-plugin-auditor/)
 * [Active Topics](https://wordpress.org/support/plugin/network-plugin-auditor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/network-plugin-auditor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/network-plugin-auditor/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [Katherine Semel-Munson](https://wordpress.org/support/users/ksemel/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-network-plugin-auditor-small-error/#post-2622934)
 * Status: resolved