Sync arguments to plugin hooks to enable same function to be hooked on to both to enable backward compatible plugins. Fixes #8365 props strider72.

git-svn-id: https://develop.svn.wordpress.org/trunk@9904 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2008-11-26 15:23:51 +00:00
parent 90c37c1792
commit 6c4bb8992f
1 changed files with 3 additions and 3 deletions

View File

@ -288,7 +288,7 @@ function print_plugins_table($plugins, $context = '') {
$action_links[] = '<a href="plugin-editor.php?file=' . $plugin_file . '" title="' . __('Open this file in the Plugin Editor') . '" class="edit">' . __('Edit') . '</a>';
$action_links = apply_filters( 'plugin_action_links', $action_links, $plugin_file, $plugin_data, $context );
$action_links = apply_filters("plugin_action_links_$plugin_file", $action_links, $plugin_data, $context);
$action_links = apply_filters( "plugin_action_links_$plugin_file", $action_links, $plugin_file, $plugin_data, $context );
echo "
<tr class='$context'>
@ -302,7 +302,7 @@ function print_plugins_table($plugins, $context = '') {
echo '</td>
</tr>';
do_action( 'after_plugin_row', $plugin_file, $plugin_data, $context );
do_action( "after_plugin_row_$plugin_file", $plugin_data, $context );
do_action( "after_plugin_row_$plugin_file", $plugin_file, $plugin_data, $context );
}
?>
</tbody>