WordPress.org

Make WordPress Core

Changeset 12996


Ignore:
Timestamp:
02/07/10 00:03:10 (5 years ago)
Author:
wpmuguru
Message:

Add activate link for network plugins in single site install, props nacin, fixes #12139

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r12976 r12996  
    492492            } 
    493493        } else { 
    494             if ( is_network_only_plugin( $plugin_file ) ) 
     494            if ( is_multisite() && is_network_only_plugin( $plugin_file ) ) 
    495495                $actions[] = '<span title="' . __('This plugin can only be activated for all sites in a network') . '">' . __('Network Only') . '</span>'; 
    496496            else 
Note: See TracChangeset for help on using the changeset viewer.