WordPress.org

Make WordPress Core

Ticket #10421: plugins.diff

File plugins.diff, 612 bytes (added by williamsba1, 9 years ago)

added to $class variable to include plugin name to class

  • plugins.php

     
    406406                $actions = apply_filters( "plugin_action_links_$plugin_file", $actions, $plugin_file, $plugin_data, $context );
    407407                $action_count = count($actions);
    408408                $class = $is_active ? 'active' : 'inactive';
     409                $class .= ' ' . sanitize_html_class('plugin-' . $plugin_data['Name'], '');
    409410                echo "
    410411        <tr class='$class'>
    411412                <th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . esc_attr($plugin_file) . "' /></th>