Make WordPress Core

Changeset 16709


Ignore:
Timestamp:
12/03/2010 06:05:37 PM (14 years ago)
Author:
PeteMall
Message:

Show network only plugins for !is_multisite. Fixes #15666

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-plugins-list-table.php

    r16696 r16709  
    373373                    $actions['deactivate'] = '<a href="' . wp_nonce_url('plugins.php?action=deactivate&amp;plugin=' . $plugin_file . '&amp;plugin_status=' . $context . '&amp;paged=' . $page . '&amp;s=' . $s, 'deactivate-plugin_' . $plugin_file) . '" title="' . __('Deactivate this plugin') . '">' . __('Deactivate') . '</a>';
    374374                } else {
    375                     if ( is_network_only_plugin( $plugin_file ) && !$screen->is_network )
    376                         return;
    377 
    378375                    $actions['activate'] = '<a href="' . wp_nonce_url('plugins.php?action=activate&amp;plugin=' . $plugin_file . '&amp;plugin_status=' . $context . '&amp;paged=' . $page . '&amp;s=' . $s, 'activate-plugin_' . $plugin_file) . '" title="' . __('Activate this plugin') . '" class="edit">' . __('Activate') . '</a>';
    379376
Note: See TracChangeset for help on using the changeset viewer.