WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/07/2010 06:14:53 PM (11 years ago)
Author:
nacin
Message:

Fix irrelevant error message on plugin activation again. Props andy. Fixes #15062 for the 3.0 branch. see #7671.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-admin/includes/plugin.php

    r15268 r15745  
    484484        include(WP_PLUGIN_DIR . '/' . $plugin);
    485485        do_action( 'activate_plugin', trim( $plugin) );
     486        do_action( 'activate_' . trim( $plugin ) );
    486487        if ( $network_wide ) {
    487488            $current[$plugin] = time();
     
    492493            update_option('active_plugins', $current);
    493494        }
    494         do_action( 'activate_' . trim( $plugin ) );
    495495        do_action( 'activated_plugin', trim( $plugin) );
    496496        if ( ob_get_length() > 0 ) {
Note: See TracChangeset for help on using the changeset viewer.