Ticket #7856: patch.diff

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

adds plugin_action_links_{$plugin} filter to plugins.php

Line 
1Index: wp-admin/plugins.php
2===================================================================
3--- wp-admin/plugins.php        (revision 9108)
4+++ wp-admin/plugins.php        (working copy)
5@@ -309,6 +309,7 @@
6                        $action_links[] = '<a href="plugin-editor.php?file=' . $plugin_file . '" title="' . __('Open this file in the Plugin Editor') . '" class="edit">' . __('Edit') . '</a>';
7 
8                $action_links = apply_filters('plugin_action_links', $action_links, $plugin_file, $plugin_data, $context);
9+               $action_links = apply_filters("plugin_action_links_$plugin_file", $action_links, $context);
10 
11                echo "
12        <tr class='$context'>