From 77c173c785fca2102ef334469d642fa5501b4203 Mon Sep 17 00:00:00 2001 From: wpmuguru Date: Sun, 7 Feb 2010 00:03:10 +0000 Subject: [PATCH] Add activate link for network plugins in single site install, props nacin, fixes #12139 git-svn-id: http://svn.automattic.com/wordpress/trunk@12996 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index f81e87af8a..1919bf04dc 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -491,7 +491,7 @@ function print_plugins_table($plugins, $context = '') { $actions[] = '' . __('Deactivate') . ''; } } else { - if ( is_network_only_plugin( $plugin_file ) ) + if ( is_multisite() && is_network_only_plugin( $plugin_file ) ) $actions[] = '' . __('Network Only') . ''; else $actions[] = '' . __('Activate') . '';