if ( apply_filters( 'show_advanced_plugins', true, 'mustuse'
) ) { $plugins['mustuse'
] =
get_mu_plugins();
} /** This action is documented in wp-admin/includes/class-wp-plugins-list-table.php */
if ( apply_filters( 'show_advanced_plugins', true, 'dropins'
) ) { $plugins['dropins'
] =
get_dropins();
} if ( current_user_can( 'update_plugins'
) ) { $current =
get_site_transient( 'update_plugins'
);
foreach ( (array) $plugins['all'
] as $plugin_file =>
$plugin_data ) { if ( isset( $current->response
[ $plugin_file ] ) ) { $plugins['all'
][ $plugin_file ]['update'
] = true;
$plugins['upgrade'
][ $plugin_file ] =
$plugins['all'
][ $plugin_file ];
} } } }