Make WordPress Core

Changeset 9904


Ignore:
Timestamp:
11/26/2008 03:23:51 PM (16 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r9903 r9904  
    288288            $action_links[] = '<a href="plugin-editor.php?file=' . $plugin_file . '" title="' . __('Open this file in the Plugin Editor') . '" class="edit">' . __('Edit') . '</a>';
    289289
    290         $action_links = apply_filters('plugin_action_links', $action_links, $plugin_file, $plugin_data, $context);
    291         $action_links = apply_filters("plugin_action_links_$plugin_file", $action_links, $plugin_data, $context);
     290        $action_links = apply_filters( 'plugin_action_links', $action_links, $plugin_file, $plugin_data, $context );
     291        $action_links = apply_filters( "plugin_action_links_$plugin_file", $action_links, $plugin_file, $plugin_data, $context );
    292292
    293293        echo "
     
    303303    </tr>';
    304304        do_action( 'after_plugin_row', $plugin_file, $plugin_data, $context );
    305         do_action( "after_plugin_row_$plugin_file", $plugin_data, $context );
     305        do_action( "after_plugin_row_$plugin_file", $plugin_file, $plugin_data, $context );
    306306    }
    307307?>
Note: See TracChangeset for help on using the changeset viewer.