diff --git a/wp-admin/includes/class-wp-plugins-list-table.php b/wp-admin/includes/class-wp-plugins-list-table.php
index 757fa481ec..1f64a708e7 100644
--- a/wp-admin/includes/class-wp-plugins-list-table.php
+++ b/wp-admin/includes/class-wp-plugins-list-table.php
@@ -519,22 +519,20 @@ class WP_Plugins_List_Table extends WP_List_Table {
$plugin_meta[] = sprintf( __( 'By %s' ), $author );
}
- if ( ( ! is_multisite() || $screen->in_admin( 'network' ) ) ) {
- // Details link using API info, if available
- if ( isset( $plugin_data['slug'] ) ) {
- $plugin_meta[] = sprintf( '%s',
- esc_url( self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $plugin_data['slug'] .
- '&TB_iframe=true&width=600&height=550' ) ),
- esc_attr( sprintf( __( 'More information about %s' ), $plugin_name ) ),
- esc_attr( $plugin_name ),
- __( 'View details' )
- );
- } elseif ( ! empty( $plugin_data['PluginURI'] ) ) {
- $plugin_meta[] = sprintf( '%s',
- esc_url( $plugin_data['PluginURI'] ),
- __( 'Visit plugin site' )
- );
- }
+ // Details link using API info, if available
+ if ( isset( $plugin_data['slug'] ) && current_user_can( 'install_plugins' ) ) {
+ $plugin_meta[] = sprintf( '%s',
+ esc_url( network_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $plugin_data['slug'] .
+ '&TB_iframe=true&width=600&height=550' ) ),
+ esc_attr( sprintf( __( 'More information about %s' ), $plugin_name ) ),
+ esc_attr( $plugin_name ),
+ __( 'View details' )
+ );
+ } elseif ( ! empty( $plugin_data['PluginURI'] ) ) {
+ $plugin_meta[] = sprintf( '%s',
+ esc_url( $plugin_data['PluginURI'] ),
+ __( 'Visit plugin site' )
+ );
}
/**