diff --git wp-admin/includes/plugin.php wp-admin/includes/plugin.php
index 517c31d..fc11ef1 100644
|
|
function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen |
558 | 558 | do_action( 'activate_plugin', $plugin, $network_wide ); |
559 | 559 | |
560 | 560 | /** |
561 | | * Fires as a specific plugin is being deactivated. |
| 561 | * Fires as a specific plugin is being activated. |
562 | 562 | * |
563 | | * This hook is the "deactivation" hook used internally by |
564 | | * register_deactivation_hook(). The dynamic portion of the |
| 563 | * This hook is the "activation" hook used internally by |
| 564 | * register_activation_hook(). The dynamic portion of the |
565 | 565 | * hook name, $plugin. refers to the plugin basename. |
566 | 566 | * |
567 | 567 | * If a plugin is silently activated (such as during an update), |
diff --git wp-admin/plugins.php wp-admin/plugins.php
index 6e144c6..afc83bb 100644
|
|
function plugin_sandbox_scrape( $plugin ) { |
151 | 151 | include( WP_PLUGIN_DIR . '/' . $plugin ); |
152 | 152 | } |
153 | 153 | plugin_sandbox_scrape( $plugin ); |
154 | | /** This action is documented in wp-admin/includes/plugins.php */ |
| 154 | /** This action is documented in wp-admin/includes/plugin.php */ |
155 | 155 | do_action( "activate_{$plugin}" ); |
156 | 156 | exit; |