WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/07/2010 03:27:47 PM (9 years ago)
Author:
scribu
Message:

Fix irrelevant error message on plugin activation again. Props andy. Fixes #7671

File:
1 edited

Legend:

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

    r15597 r15744  
    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.