Make WordPress Core

Ticket #7856: patch.diff

File patch.diff, 613 bytes (added by strider72, 17 years ago)

adds plugin_action_links_{$plugin} filter to plugins.php

  • wp-admin/plugins.php

     
    309309                        $action_links[] = '<a href="plugin-editor.php?file=' . $plugin_file . '" title="' . __('Open this file in the Plugin Editor') . '" class="edit">' . __('Edit') . '</a>';
    310310
    311311                $action_links = apply_filters('plugin_action_links', $action_links, $plugin_file, $plugin_data, $context);
     312                $action_links = apply_filters("plugin_action_links_$plugin_file", $action_links, $context);
    312313
    313314                echo "
    314315        <tr class='$context'>