wp-content/plugins directory. Once a plugin is installed, you may activate it or deactivate it here. If something goes wrong with a plugin and you can’t use WordPress, delete that plugin from the wp-content/plugins
directory and it will be automatically deactivated.'); ?>
Couldn't open plugins directory or there are no plugins available."); // TODO: make more helpful
} else {
?>
|
|
|
|
|
$plugin_data) {
$style = ('class="alternate"' == $style) ? '' : 'class="alternate"';
if (!empty($current_plugins) && in_array($plugin_file, $current_plugins)) {
$action = "".__('Deactivate')."";
$plugin = "$plugin";
} else {
$action = "".__('Activate')."";
}
$plugin_data['Description'] = wp_kses($plugin_data['Description'], array('a' => array('href' => array(),'title' => array()),'abbr' => array('title' => array()),'acronym' => array('title' => array()),'code' => array(),'em' => array(),'strong' => array()) ); ;
echo "
{$plugin_data['Title']} |
{$plugin_data['Version']} |
{$plugin_data['Author']} |
{$plugin_data['Description']} |
$action |
";
}
?>